in reply to Re: Re: Foo is not a Bar, why?
in thread Foo is not a Bar, why?
Slaven Rezic pointed out (on p5p) the use of base.pm as an alternative. I assumed it would always require an external file: apparently it doesn't do that (anymore, anyway, I seem to remember that at one point it did. But I am probably wrong about that).
What I don't like about base.pm is the extra stuff about fields. Have you ever looked under the hood of base.pm? Yuck!
Liz
Update:
Argh. The reason I didn't get any errors about the empty Bar package, was that I actually had a Bar.pm as an external file hanging around from some previous testing. So yes, you need something in there, not necessarily a sub null {} though, a $VERSION = '0.01' also does the trick. Thanks to Mr. Person for his perseverance proving me wrong in this matter.
|
---|
Replies are listed 'Best First'. | |
---|---|
It's one of the reasons I wrote vars::i
by PodMaster (Abbot) on Dec 18, 2003 at 15:53 UTC | |
by bart (Canon) on Dec 18, 2003 at 22:46 UTC | |
Re: Re: Re: Re: Foo is not a Bar, why?
by Mr_Person (Hermit) on Dec 18, 2003 at 16:00 UTC |