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/


Reply via email to