Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2014-11-23 07:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (129 votes), past polls