good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Refactor method calls or not?by dws (Chancellor) |
on Jan 19, 2002 at 02:03 UTC ( [id://139966]=note: print w/replies, xml ) | Need Help?? |
Is this too trivial to really benefit from AUTOLOAD?
AUTOLOAD-based schemes can work fine until someone else using the code tries to debug it. After watching a lot of time get burned up as people struggle through figuring out how to set a breakpoint when something in the bowels gets autoloaded, I now avoid using AUTOLOAD near main-line business logic, lest any savings get overwhelmed by maintenance cost. YMMV.
In Section
Meditations
|
|