in reply to Re: base.pm vs @ISA (typos)
in thread base.pm vs @ISA
For me, the major advantage of base.pm was that it originally would catch typos for you. Since use base qw( Food::Barf ); would die if there was no Food/Barf.pm to load (because the module's name is actually Foo::Bar).
That's interesting. I never knew base() ever did that. When did the functionality change?
Personally I like the current behaviour more - since I can switch between inline and file-based classes without having to change any code. A definite plus as far as I'm concerned.
In Section
Meditations