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

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

by lyklev (Pilgrim)
on Oct 07, 2007 at 14:19 UTC ( #643279=note: print w/replies, xml ) Need Help??

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

Check if both Lens and Cloud have a packagedeclaration. Blow are my working code snippets:

Main program:

#!/usr/bin/perl use strict; use warnings; use lib '/home/me/project/temp'; use Lens;

In '/home/me/project/temp' are

package Cloud; use strict; use warnings; 1;


package Lens; use strict; use warnings; use lib '/home/me/project/temp'; use Cloud; our @ISA = qw(Exporter Cloud); 1;

Apart from the recommended strict and warnings, all</code> is necessary.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://643279]
LanX ... oh ... Brexit delayed ... again ... oh wonder ...
[Your Mother]: Heh. I keeping seeing related headlines but my narcissism is a perihelion right now so I'm busy. :P
[LanX]: https://www. news/series/ cambridge- analytica-files
[Your Mother]: s/a /at /;
[LanX]: just watch the video ...
[Your Mother]: Roger, will co.
[Your Mother]: The good news is, they think they are influencing people but Americans at least are irretrievably biased. All that can be accomplished is a little spike in domestic violence. :P

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2018-03-19 13:23 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (240 votes). Check out past polls.