[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Mac::Glue?



hello,

> At 18:39 -0700 1999.10.15, Brian McNett wrote:
>>>foreach (@raw_accounts) {
>>>    $obj->connect_to($_);
>>>}
>>
>>Uh-uh, this fails silently.  Something similar might work, though.
>>
>>foreach (@raw_accounts) {
>>    $obj->connect_to("$_");
>>}
>>
>>Forcing the double-quotes seems to do the trick.
>
> I cannot see why that would make a difference.  It doesn't make any sense.
> $_ and "$_" should be the same thing, if $_ is just plain text.
>
> --
> Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
> %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

What if $_ is not just plain text?  I seem to remember from the prior code
that @raw_accounts might contain applescript objects.  But the double quotes
still would not make a difference, right?  Confusing.

Enrique Terrazas, MD
<mailto:terrazas@labmed.ucsf.edu>
<http://pangloss.ucsf.edu/~terrazas/>

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org