Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 avoiding work at the Monastery: (3)
As of 2018-06-19 07:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (111 votes). Check out past polls.

    Notices?