Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

(jeffa) Re: @_ still mystifies me

by jeffa (Bishop)
on Jun 01, 2002 at 15:37 UTC ( #170921=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @lexlist = @_ ? @_ : sort keys %lexicon;
    
  2. or download this
    use strict;
    use Data::Dumper;
    ...
       my @lexlist = (@_ or sort keys %lexicon);   # incorrect
       print "baz:\n", Dumper \@lexlist;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2016-08-31 23:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (437 votes). Check out past polls.