Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Get hash values in multidimensional array

by toolic (Bishop)
on Feb 24, 2017 at 20:23 UTC ( #1182759=note: print w/replies, xml ) Need Help??


in reply to Re: Get hash values in multidimensional array
in thread Get hash values in multidimensional array to populate Term document matrix

your @arr array has never been populated with anything
It is for me. When I run the 1st code snippet (no strictures), I see something in @arr:
use Data::Dumper; print Dumper(\@arr); $VAR1 = [ [ { 'key' => 12, 'lop' => 9, 'pl' => 1 }, { 'key' => 12 } ] ];

What happens when you run it? The 2nd snippet has compile errors for me.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1182759]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2022-01-25 17:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (67 votes). Check out past polls.

    Notices?