$var = { }

$var = { }

am 03.04.2008 13:08:25 von ankugoe7

What does this means

$var = { }

Re: $var = { }

am 03.04.2008 13:12:13 von Peter Makholm

"ankugoe7@gmail.com" writes:

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

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

//Makholm

Re: $var = { }

am 03.04.2008 14:51:37 von jurgenex

Peter Makholm wrote:
>"ankugoe7@gmail.com" writes:
>
>> 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

Re: $var = { }

am 04.04.2008 21:03:36 von Chris Mattern

On 2008-04-03, ankugoe7@gmail.com wrote:
> 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