Re: Howto correctly set local package path



gundalav@xxxxxxxxx wrote:
Currently in mycode.pl, I have

__BEGIN__
use strict;
use warnings;
use lib "/home/gundalav/MyPerl/src";

<snip>

Can't locate Mypackage.pm in @INC (@INC contains:
home/gundalav/MyPerl/src

One of these two lines was not copy/pasted correctly. I'm betting you
retyped the code when you posted, and inserted the slash that you knew
should be there, but is not actually there in your code.

Paul Lalli

.



Relevant Pages

  • Re: Dashboard, Malware and a Theory.. Vindicated!
    ... download and install with no warnings at all ... I've sometimes suggested that Macs have less malware because ... That's the problem with warnings; ...
    (comp.sys.mac.advocacy)
  • Re: BARRY & THE BROTHERS TO THE RESCUE SHOOTDOWN
    ... The warnings before and during the ... > cowboys want to be play chicken with MIG's in or even around Cuban ... And don't forget that transcript from the Miami tower. ...
    (soc.culture.cuba)
  • Re: function system() from stdlib.h
    ... warnings, so long as those warnings are not required by the standard. ... switch ... I suppose the compiler decides not to warn when there is a comment before the following case, because an experienced programmer using this behavior of switch/case generally puts a comment there, just to inform that the absence of the break statement is intentional. ...
    (comp.lang.c)
  • Re: function system() from stdlib.h
    ... The compiler must behave as if comments are gone, ... warnings, so long as those warnings are not required by the standard. ... switch ...
    (comp.lang.c)
  • Re: How to extract the HTML tag?
    ... snip> And it should handle other rare cases, ... And right there you showed why regexes are not good for parsing HTML ... use strict; ... use warnings; ...
    (perl.beginners)