LPM: @ISA problems

Rich Bowen rbowen at rcbowen.com
Thu Sep 9 14:44:19 CDT 1999


I'm writing a module, and in it I have:

@ISA = qw(Foo::Bar);

Where Foo::Bar is another module I've written. I get the message that
Foo::Bar could not be located, and my programs bomb. However, if I add:

use Foo::Bar;

above the ISA line, things work OK. Now, my understanding was that ISA
works on basically the same principles as use - it searches @INC for the
module. What am I missing? Why is that use line necessary?

Rich
-- 
It seems to me as we make our own few circles 'round the sun
We get it backwards and our seven years go by like one 
          --Rush, 'Dog Years' (Test for Echo, 1996)



More information about the Lexington-pm mailing list