Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: The correct way to redefine a routine

by dragonchild (Archbishop)
on Mar 28, 2008 at 19:48 UTC ( [id://677096]=note: print w/replies, xml ) Need Help??


in reply to The correct way to redefine a routine

One possibility is instead of overriding the original do_magic(), go ahead and create my_do_magic() and put it in either My::Foo::Bar or within Foo::Bar itself.

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
  • Comment on Re: The correct way to redefine a routine

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-24 08:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found