Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2017-10-16 22:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (217 votes). Check out past polls.

    Notices?