Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: Spotting an empty array as argument

by choroba (Archbishop)
on Mar 26, 2021 at 14:24 UTC ( #11130385=note: print w/replies, xml ) Need Help??


in reply to Re^3: Spotting an empty array as argument
in thread Spotting an empty array as argument

As it circumvents prototypes, it doesn't use $_ when no arguments are specified.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2021-11-30 13:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?