Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^7: Perl list items

by AnomalousMonk (Archbishop)
on Jul 10, 2012 at 07:51 UTC ( [id://980835]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @c = combine(5,@n); # get array of arrays
    my @A = @$c[0];        # get first sub-array
    
  2. or download this
    >perl -wMstrict -MData::Dump -le
    "my @c = (['x', 'y'], ['a', 'b'], ['c', 'd']);
    ...
    ["foo"]
    
    ["x", "y"]
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2024-04-19 08:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found