Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: RFC: New style for argument check in subs

by LanX (Canon)
on Sep 05, 2012 at 13:45 UTC ( #991857=note: print w/ replies, xml ) Need Help??


in reply to Re^3: RFC: New style for argument check in subs
in thread RFC: New style for argument check in subs

It took me some time to understand that passing undef works in %def.

That's when I updated my reply ...

But naming it %allowed would be much clearer.

> I don't mind hand coding a solution for the 1 in 1000 case, if that means the other 999 cases operate in an efficient manner.

I agree, but I think I'm closer to 999 than you are! :)

Cheers Rolf


Comment on Re^4: RFC: New style for argument check in subs

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2014-07-29 22:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (229 votes), past polls