Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: What's the better Perl style? Define parameters or not?

by Tanktalus (Canon)
on Jan 05, 2010 at 04:46 UTC ( [id://815692]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub exp($$) {
      # perform exponention.
    ...
    {
      printf "exp(%s,%s) = %s", @$params, exp(@$params);
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-03-29 10:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found