Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2014-10-01 18:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (34 votes), past polls