Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: Data Structures

by Anonymous Monk
on May 04, 2008 at 17:41 UTC ( #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
Node Status?
node history
Node Type: note [id://684452]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2021-04-18 06:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?