Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Getting single element from an array

by Anonymous Monk
on Nov 01, 2012 at 09:16 UTC ( [id://1001783]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print( 1,2,3 );
    print( ( 1,2,3 )[1] );
    
  2. or download this
    print( 1,2,3 )[1];
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2024-04-25 14:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found