Re: How to avoid multiple Inclusions of perl modules.. or how to detect mutliple inclusions.



Phani Ranjan <PhaniRanjan@xxxxxxxxx> writes:

On Sep 16, 11:39 pm, Sherm Pendley <spamt...@xxxxxxxxxxx> wrote:
PhaniRan...@xxxxxxxxx writes:
i have many modules which inturn use among themselvs.. some times i
get the following error..
Can't locate <>.pm in @INC though it is present in that location..

Perl isn't just guessing. It looked, and the fact that you get this
error indicates that the requested module is *not* in fact present at
that location.

Look more closely at your use statement, and the list of directories
printed in the error message. One of them is not what you think it
is.

Thanks for the info.. but i can see the files peresent in the
specified libs folder..

Denying that an error *can* happen, when it clearly *is* happening, is
not productive.

As I said - examine your use statement closely. Examine the directory
listing closely. Post the exact error message here - copy and paste
the whole thing, including the list of directories in @INC. Tell us
what file you think Perl should be finding, and what directory it's
in.

sherm--

--
My blog: http://shermspace.blogspot.com
Cocoa programming in Perl: http://camelbones.sourceforge.net
.



Relevant Pages

  • Re: problems with Perl RegEx match
    ... Missing right bracket at ./LogPreProcessor_Inetprod.pl line 64, ... Perl didn't encounter it. ... when I used the following search term in google to look ... considering it's an error message from an older Perl - in newer Perls, ...
    (comp.lang.perl.misc)
  • Re: About the error message in Perl : "Missing right curly braces"
    ... Subject: About the error message in Perl: "Missing right curly ... SKY and the SKY marks are trade marks of ... track which line contains that curly brace which is causing that problem, ...
    (perl.beginners)
  • Re: "Did not find leading dereferencer" - new findings to an old puzzle
    ... to do with the "Dereferencer" error, because on the first example I ... I got that error message in the context of Perl standard ... this would not explain why the error message ... source code. ...
    (comp.lang.perl.misc)
  • Re: perl and CGI
    ... This error message is _not_ a Perl error message. ... I was just trying to figure out how perl and the web server works.. ... I have already developed a perl file to manage a web form (send the ... pointers to more information. ...
    (comp.lang.perl.misc)
  • RE: lc
    ... > and I got an error message that said I couldn't use lc ... Then I checked my copy of Learning Perl and the index ... that Perl didn't have a lowercase function. ... Mail SpamGuard - Read only the mail you want. ...
    (perl.beginners)