Click here to get back home

$var = { }

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
$var = { } ankugoe7@gmail.com 04-03-2008
---> Re: $var = { } Peter Makholm04-03-2008
| `--> Re: $var = { } Jürgen Exner04-03-2008
`--> Re: $var = { } Chris Mattern04-04-2008
Get Chitika Premium
Posted by ankugoe7@gmail.com on April 3, 2008, 7:08 am
Please log in for more thread options
What does this means

$var = { }

Posted by Peter Makholm on April 3, 2008, 7:12 am
Please log in for more thread options

> What does this means
>
> $var = { }

This assigns an empty hashref to $var. Read the perlref documentation.

//Makholm

Posted by Jürgen Exner on April 3, 2008, 8:51 am
Please log in for more thread options
>
>> What does this means
>>
>> $var = { }
>
>This assigns an empty hashref to $var.

Ahemmm, it's not the reference that is empty but the hash that it points
to.

jue

Posted by Chris Mattern on April 4, 2008, 3:03 pm
Please log in for more thread options
> What does this means
>
> $var = { }

It means $var gets assigned a reference to an anonymous, empty hash.


--
Christopher Mattern

NOTICE
Thank you for noticing this new notice
Your noticing it has been noted
And will be reported to the authorities


Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap