Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Data Structures

by YYCseismic (Beadle)
on May 02, 2008 at 15:55 UTC ( #684197=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @line = (
        [  ## $line[ 0 ]
    ...
    );
    
    my( $x, $y, $z ) = $line[ $lineNo ][ $stationNo ];
    
  2. or download this
    lineName        stn.                     east...north...elev.
    000301038       1260 52205121N109153806W 618485158009020 6626
    ...
    000301016        400 52153542N109482654W 581401057903909 6738
    000301016        401 52153542N109482522W 581426057903913 6738
    000301016        402 52153542N109482390W 581451057903918 6738
    
  3. or download this
    my( $x, $y, $z ) = $line[000301038][1261];
    ...
    print "$x, $y, $z";    # Result: 6185101, 58009027, 6623
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://684197]
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: (3)
As of 2021-04-20 03:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?