Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Subroutine Bewilderment

by thospel (Hermit)
on May 29, 2004 at 11:59 UTC ( [id://357457]=note: print w/replies, xml ) Need Help??


in reply to Subroutine Bewilderment

Simply always use the same basic style. By the time you are sophisticated enough to have special needs, you'll probably also know how to do that special thing, or you can look it up.

Definition:

sub foo { ...code... }
Use:
foo($arg1, $arg2);

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2024-03-29 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found