Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: How do I access only certain elements of a multidimensional array?

by 2teez (Vicar)
on Nov 01, 2015 at 08:43 UTC ( [id://1146606]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @new_shapes = map { [ @{$_}[ 2 .. $#$_ ] ] } @shapes;
    
    print join( " " => @{$_} ), $/ for @new_shapes;
    
  2. or download this
    triangle polygon
    blue yellow fuschia
    c d e f g h i j k
    Radio
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-24 02:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found