Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Data Structures

by BrowserUk (Pope)
on May 01, 2008 at 23:43 UTC ( #684056=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %line = (
        lineNameA => { 
    ...
    use constant{ X => 0, Y => 1, Z => 2 };
    
    my $y = $line[ $lineNo ][ $staionNo ][ Y ];
    
  2. or download this
    my @line = (
        [  ## $line[ 0 ]
    ...
    use constant{ X => 0, Y => 1, Z => 2 };
    
    my $y = $line[ $lineNo ][ $staionNo ][ Y ];
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://684056]
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-20 05:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?