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

Re: [FWP] words words words



On Fri, 19 May 2000, Bernie Cosell wrote:
>                                                     is there any other 
>context in Perl in which "@X" refers to the _hash_ named X rather than 
>the array named X?

IMO that's the wrong question to ask. The @ has nothing to do with whether
it's a hash, the { after the X has everything to do with it. So, when you
see 'X{' you are talking about %X (well, there's *X{THING} -- another story).
The @ is the type of the 'return value'. So, it's not that unintuitive after
all...


==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe