Re: How to avoid multiple Inclusions of perl modules.. or how to detect mutliple inclusions.
- From: "C.DeRykus" <ced@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 23 Sep 2008 21:10:46 -0700 (PDT)
On Sep 16, 10:23 pm, sisyphus <sisyphus...@xxxxxxxxx> wrote:
...
Can't locate <>.pm in @INC though it is present in that location.. i
I recall that someone (somewhere) once claimed that they got that
error because, although the pm file existed, its permissions were
wrong. Frankly, I don't believe that claim - but you could check the
permissions anyway.
In fact, permissions can cause exactly that error:
# ls -l Foo.pm
-rw------- 1 root g1 31 Sep 23 21:01 Foo/Foo.pm
$ who am i
nonroot....
$ perl -we 'use Foo'
Can't locate Foo.pm in @INC (@INC contains:
/...perl.../lib/sun4-solaris
/...perl.../lib
/...perl.../lib/site_perl/sun4-solaris /...perl.../lib/site_perl
..
) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
--
Charles DeRykus
.
- References:
- How to avoid multiple Inclusions of perl modules.. or how to detect mutliple inclusions.
- From: PhaniRanjan
- Re: How to avoid multiple Inclusions of perl modules.. or how to detect mutliple inclusions.
- From: Sherm Pendley
- Re: How to avoid multiple Inclusions of perl modules.. or how to detect mutliple inclusions.
- From: Phani Ranjan
- Re: How to avoid multiple Inclusions of perl modules.. or how to detect mutliple inclusions.
- From: sisyphus
- How to avoid multiple Inclusions of perl modules.. or how to detect mutliple inclusions.
- Prev by Date: Re: [OT] On `ad hominem' - OS X users
- Next by Date: Trying to build berkeleyDB module against M$ VStudio 2005 SDK stuff
- Previous by thread: Re: How to avoid multiple Inclusions of perl modules.. or how to detect mutliple inclusions.
- Next by thread: Expect - "sleep" executed at the wrong time (before an expect(... send...) instead of after)
- Index(es):
Relevant Pages
|