Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: How to create an array of hashes return form a subroutine

by JavaFan (Canon)
on Mar 26, 2012 at 15:36 UTC ( [id://961690]=note: print w/replies, xml ) Need Help??


in reply to How to create an array of hashes return form a subroutine

for (my $i = 0; $i < $endvalue; $i++) { $NameArray[$i] = {addnaw()}; }
Although it may be easier to have addnaw() return a hashref.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-24 22:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found