Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: sub argument passing? (TIMTOWTDI)

by AnomalousMonk (Monsignor)
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 chanting in the Monastery: (10)
As of 2014-08-22 20:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (164 votes), past polls