Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2015-11-25 02:36 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (668 votes), past polls