Thanks for the hint.. And I was looking forward to a night of heavy
drinking.. Oh well, might as well code into the night.. 

Thanks again.. flk k

-----Original Message-----
From: Shawn H Corey [mailto:shawnhco...@gmail.com] 
Sent: Wednesday, November 19, 2014 5:09 PM
To: beginners@perl.org
Subject: Re: reading a hash of arrays

On Wed, 19 Nov 2014 17:03:40 -0600
"Frank K." <fklei...@gmail.com> wrote:

> I can't do @array1 = @hash{one};

@array1 = @{ $hash{one} };

$hash{one} contains a reference to an array. By dereferencing it with @{ ...
}, you get the array.


--
Don't stop where the ink does.
        Shawn

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional
commands, e-mail: beginners-h...@perl.org http://learn.perl.org/




-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to