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:[email protected]] 
Sent: Wednesday, November 19, 2014 5:09 PM
To: [email protected]
Subject: Re: reading a hash of arrays

On Wed, 19 Nov 2014 17:03:40 -0600
"Frank K." <[email protected]> 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: [email protected] For additional
commands, e-mail: [email protected] http://learn.perl.org/




-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to