[Linux-disciples] perl question: why do modules return a reference to a hash and not a hash?

Stephen R Laniel steve at laniels.org
Thu Dec 22 13:55:09 EST 2005


On Thu, Dec 22, 2005 at 01:52:59PM -0500, Stephen R Laniel wrote:
> my %hash = ( 'a' => 1, 'b' =>2 );

Note that %hash, above, is a list with 4 elements.

-- 
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20051222/abd0d303/attachment.pgp


More information about the Linux-disciples mailing list