Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: new keyword "size" to avoid scalar trap ? ( scalar @array != scalar(LIST) )

by moritz (Cardinal)
on Dec 07, 2012 at 17:06 UTC ( #1007798=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub elems { scalar @_ }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2017-11-22 20:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (327 votes). Check out past polls.

    Notices?