|Perl: the Markov chain saw|
Re: package Foo; isa Bar; why not?by demerphq (Chancellor)
|on Dec 19, 2003 at 17:43 UTC||Need Help??|
Hi Liz. Im a little confused why a simple
Doesnt cut it in your eye. For me the capitalization, the BEGIN, etc, all make this a much more potent way to write this. Its immediately obvious that "theres some voodoo going on" and what that voodoo is. Your isa approach doesnt tickle my fancy im afraid.
I will say that I agree with your issues with use base. I pretty much dont use it anymore, as I've found there are bizarre situations where it doesnt do what you might expect.
Actually on a less serious level, a module like:
Which could then be used like:
Which I guess is just a fancy BEGIN without the squiggle brackets. :-)
First they ignore you, then they laugh at you, then they fight you, then you win.