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

Re: [MacPerl-Modules] Glue



At 16:58 +0000 1999.09.14, Richard K. Moore wrote:
>My vote would be for getting a hashref... I tend to use hashrefs and
>arrayrefs exclusively, since they are passed as scalars, and the syntax
>scales up uniformly...
>
>	$h->{key}
>	$a->[index]
>	$x->[index]->{key}
>
>It's not nice to break old code, so you could introduce 'ppp_status_href'
>or some such.

No, this would not be for ppp_status.  This woould actually be in the
Mac::AppleEvents::Simple module, in the relatively new code that returns
hashes for AE records.  It would result in all records that M:A:S returns
as hashes being either hashrefs or plain ol' hashes.

-- 
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-modules-request@macperl.org