Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Creating 'new' subroutine.

by Anonymous Monk
on Oct 11, 2013 at 20:35 UTC ( #1057949=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Creating 'new' subroutine.
in thread Creating 'new' subroutine.

Even if the intention was to write it with a check for evenness, @_ % 2 == 0 ? {@_} : {}, it would be very poor coding practise to just silently discard the options supplied by the user (if odd).


Comment on Re^3: Creating 'new' subroutine.
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2014-04-20 03:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls