Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Predefining sub Parameters

by dynamo (Chaplain)
on Jun 22, 2005 at 17:25 UTC ( #469103=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub functionname {
        my ($string_param, $array_param_ref, $other_string_param) = @_;
        my @array_param = @$array_param_ref;
        # do something with parameters, return values
    }
    
  2. or download this
    sub functionname{
        my ($string_param, $other_string_param, @array_param) = @_;
        # do something with parameters, return values
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2016-08-24 06:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (338 votes). Check out past polls.