Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: passing paramters to a sub

by saberworks (Curate)
on Aug 29, 2005 at 23:38 UTC ( [id://487602]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub whatever {
        my $scalar = shift;
        my %hash   = @_;
    }
    
  2. or download this
    whatever($scalar, %hash);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-18 01:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found