Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

The magic of passing arguments to subroutines

by halxd2 (Monk)
on Nov 08, 2001 at 20:02 UTC ( [id://124082]=poem: print w/replies, xml ) Need Help??

two arguments passed
all my prototypes fail
use a damn comma

Perl will hand you enough rope to shoot yourself in the foot.
Perl will also pass everything you tell it to, where your sub puts it is your problem.
  • Comment on The magic of passing arguments to subroutines

Replies are listed 'Best First'.
Re: The magic of passing arguments to subroutines
by Hubris Boy (Monk) on Nov 09, 2001 at 04:35 UTC
    Good punctuation:
    More important to Perl Monks
    than English majors!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-25 06:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found