Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Behaving appropriately based on ref() result

by suaveant (Parson)
on Jan 09, 2006 at 15:00 UTC ( [id://521956]=note: print w/replies, xml ) Need Help??


in reply to Re: Behaving appropriately based on ref() result
in thread Behaving appropriately based on ref() result

Of course, the overhead difference is hardly such that your typical Perl program would suffer, but certainly if you are being speed conscious. Especially since you can arrange your constructs so that the most common options come first.

I often prefer dispatch for the ease of adding new items.

                - Ant
                - Some of my best work - (1 2 3)

  • Comment on Re^2: Behaving appropriately based on ref() result

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (9)
As of 2024-04-16 08:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found