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

returning lists and scalars

by merlyn (Sage)
on Aug 05, 2000 at 17:52 UTC ( #26334=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub this_returns_a_list_only {
      wantarray or die "DURN IT, USE ME IN A LIST CONTEXT!";
      ...
      ...
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://26334]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2017-06-25 01:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (564 votes). Check out past polls.