Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Re: Poor Man's Prototyping?

by chromatic (Archbishop)
on Nov 25, 2001 at 03:25 UTC ( [id://127325]=note: print w/replies, xml ) Need Help??

in reply to Re: Poor Man's Prototyping?
in thread Poor Man's Prototyping?

It's a good technique when you have optional arguments to pass to a sub, or you have more than three or four. Look at the constructor for any of the IO:: modules, for example, or (as has been stated) just about anything in

Don't overlook the ability to provide default arguments as well. This isn't always appropriate, but there are times when it handily beats @_ and shift.

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2024-05-28 07:53 GMT
Find Nodes?
    Voting Booth?

    No recent polls found