On 7/14/05, Johan Vromans <[EMAIL PROTECTED]> wrote: > Rick Delaney <[EMAIL PROTECTED]> writes: > > > use strict; > > package Foo::Bar; > > our @ISA = qw(Foo); > > > > package Foo::Baz; > > our @ISA = qw(Foo); > > This is where we have "use base" for.
"use base" sucks. It uses horrible heuristics to do its thing and gets things wrong disturbingly often. IMO its much preferable to avoid it. As an example play around with it with multiple packages in a single file, likewise play around with evaling packages into existance at run time, and watch use base act like its been smoking crack. -- perl -Mre=debug -e "/just|another|perl|hacker/"