Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: sub argument passing? (TIMTOWTDI)

by AnomalousMonk (Archbishop)
on Sep 17, 2012 at 21:04 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://994103]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-25 13:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found