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

Re: [MacPerl] Mac::Glue?



At 9:59 AM -0400 10/16/99, Chris Nandor wrote:
>At 8:47 -0500 1999.10.16, Ken Williams wrote:
> >pudge@pobox.com (Chris Nandor) wrote:
> >
> >>At 19:35 -0700 1999.10.15, Enrique Terrazas wrote:
> >>>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.
> >>
> >>In that case, quoting them would probably break it entirely, because the
> >>object would be turned into a string like "AEObjDesc=HASH(0x77aa66bb)"[*],
> >>which would be useless.
> >
> >Unless the "" operator is overloaded.
>
>You can't do that in MacPerl, I am pretty sure.  overload does not support
>overloading " I think.  Maybe it can in other versions, I don't know.


URI uses overloading of " to allow stringification of objects to 
URL's just by putting them in quotes (i.e. "$url" does what you think 
it will, even though $url is an object).  It works under MacPerl, so 
far as I know.  I'd guess that there's a test for it, and we know the 
tests pass (aside from one that fails only because of an ignorable 
difference between Unix and MacOS file syntax).

>
>--
>Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
>%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])
>
># ===== Want to unsubscribe from this list?
># ===== Send mail with body "unsubscribe" to macperl-request@macperl.org

--
Paul Schinder
schinder@pobox.com

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