Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Tossing unwanted values from returned list

by boo_radley (Parson)
on Nov 18, 2003 at 00:04 UTC ( [id://307865]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    (undef, $foo, undef, undef, $bar) =(1..5);
    print "$foo $bar";
    
  2. or download this
    ($foo, $bar) =(1..5)[1,4];
    print "$foo $bar";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2024-04-25 10:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found