Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Data Structures

by Anonymous Monk
on May 04, 2008 at 17:41 UTC ( [id://684452]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %data;
    
    push @{$data{$linename}}, { station => $station, coords => $coords, ea
    +sting => $easting, northing => $northing, elevation => $elevation };
    
  2. or download this
    for my $linename ( keys %data ){
      for my $entry ( @{$data{$linename}} ){
        print "$linename: @{$entry}{qw(station easting northing elevation)
    +};
      }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-19 14:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found