Michael G Schwern <[EMAIL PROTECTED]> writes:

> On Sun, Apr 15, 2001 at 04:46:21PM +0200, Andreas J. Koenig wrote:
> > Why are you considering dynamic method calls an ill? I'm using them
> > frequently.
> 
> I anticipated this.  From the docs...
> 
>        Perl has alot of wierd features.  We love Perl for it, but
>        it makes predictable refactorings really difficult.  This
>        module attempts to find (hopefully rare) uses of such
>        features.
> 
>        We're not passing judgement on them, just noting that they
>        can make program behavior hard to predict.
> 
> I'm just looking for things which make refactorings a pain in the ass.
> One of the basic refactoring questions is "where is this method
> called?"  Dynamic methods make this difficult to answer (can't get
> away with a simple grep).  This doesn't mean don't use them, it just
> means you have to be aware of them when you're changing code around.

You might want to see if you can spot places where @ISA gets messed
with at runtime as well. Just a thought.

-- 
Piers

Reply via email to