Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by LanX (Chancellor)
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2017-02-25 21:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (369 votes). Check out past polls.