Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by rhesa (Vicar)
on Oct 05, 2007 at 11:40 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-23 06:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found