Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Initializing multidimensional arrays

by ihb (Deacon)
on Jun 03, 2005 at 19:57 UTC ( [id://463387]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ($foo[100000] == 1) {
        ...
    }
    
  2. or download this
    [
        undef,
    ...
        undef,
        [ undef, undef, undef, undef , undef ],
    ]
    
  3. or download this
    $matrix[4][4] = undef
    
  4. or download this
    [
        undef,
    ...
        undef,
        [ undef, undef, undef, undef , undef ],
    ]
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-04-19 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found