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

Re^2: Use of wantarray Considered Harmful

by BrowserUk (Patriarch)
on Dec 13, 2008 at 20:22 UTC ( [id://730197]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub c{ return caller(); }
    
    ...
    
    print scalar c();;
    main
    
  2. or download this
    print each %h;;
    a 1
    
    print scalar each %h;;
    a
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-18 00:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found