Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: adding a new hash in an array

by matija (Priest)
on Jul 14, 2004 at 16:40 UTC ( #374345=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    {
    my %row;
    }
    
  2. or download this
    foreach (@rows) {
       push(@arr,{}); $cnt++;
    # .... code ...
       $arr[$cnt]{somestring}=$somevalue;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://374345]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2017-02-24 07:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (353 votes). Check out past polls.