Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 studying the Monastery: (8)
As of 2015-07-03 17:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (54 votes), past polls