note
demerphq
<!--
<p><em></em></p>
<code></code>
<i></i>
<b></b>
[ ]
-->
<p>
Hi Liz. Im a little confused why a simple
</p>
<code>
package Foo;
BEGIN { @ISA=qw( blah blah blah ); }
</code>
<p>
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.
</p>
<p>
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.
</p>
<p>
Actually on a less serious level, a module like:
</p>
<code>
package CompileTime;
1
</code>
<p>
Which could then be used like:
</p>
<code>
use CompileTime @ISA=qw(blah blah blah);
</code>
<p>
Which I guess is just a fancy BEGIN without the squiggle brackets. :-)
</p>
<br />
<div class="pmsig"><div class="pmsig-108447">
---
<br />
demerphq<br />
<br />
<sub>
<ol>
<p><em>First they ignore you, then they laugh at you, then they fight you, then you win.
</em><br /> -- Gandhi</p>
</ol>
</sub>
</div></div>
<!--
<hr />
<sub>
<p>
<strong>• Update: </strong><br />
</p>
</sub>
-->
<br />
315694
315694