Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 having an uproarious good time at the Monastery: (5)
As of 2017-05-28 07:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?