Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: sub argument passing? (TIMTOWTDI)

by AnomalousMonk (Abbot)
on Sep 17, 2012 at 21:04 UTC ( #994103=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #prototyped to explicitly state acceptable arguments
    
    ...
    
    #gives error if too few or too many arguments
    #(or arguements of wrong type)
    
  2. or download this
    >perl -wMstrict -le
    "my @ra = (99 .. 199);
    ...
     print S 1, 2, @ra;
    "
    104
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2014-09-16 20:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (47 votes), past polls