Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Can locate when called directly, but can't when in @ISA

by rhesa (Vicar)
on Oct 05, 2007 at 11:40 UTC ( #642900=note: print w/replies, xml ) Need Help??


in reply to Can locate when called directly, but can't when in @ISA

Are you saying that Lens->isa('Cloud') *and* Cloud->isa('Lens')? You might want to reconsider that!

Replies are listed 'Best First'.
Re^2: Can locate when called directly, but can't when in @ISA
by Phemto (Acolyte) on Oct 05, 2007 at 11:49 UTC
    Sorry for the confusion. Lens.pm inherits from Cloud.pm, but not the other way around. I used "use Cloud" from the calling program (separate file) to test that Cloud.pm could be found in @INC, which it can. But when I try "use Lens" instead, it finds Lens, but then Lens can't find Cloud.

    Does @ISA not use @INC to find modules? That would be weird. Is this a poor system administration issue? As the SysAdmin, I could easily believe it.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://642900]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2022-12-07 19:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?