[Bioperl-l] Problem about slashes and backslahes in library paths

Robert Bradbury robert.bradbury at gmail.com
Sat Oct 31 13:55:24 UTC 2009


On Fri, Oct 30, 2009 at 11:23 AM, MathGon <dfog22 at hotmail.com> wrote:

>
> Can't locate Bio/PrimarySeq.pm in @INC (@INC contains H:/Perl64/site/lib/
> H:Perl64/site.lib .) at H:\script.pl line 10
>
>
Well, you've got a "mixed" pathname in @INC.  Anything that starts with  L:
would be a windows path while the use of forward slashes (/) is a Linux
path.  I'd suggest changing the script (or the environment which sets @INC)
so it uses only Windows or Linux paths.

There may be some Perl scripts that one is supposed to run to setup the @INC
variable correctly for ones current system (presumably depends on the
supplier of Perl for your Windows installation).

Or you could switch to Linux which I would consider to be a much more
Perl/BioPerl friendly environment.  Because, IMO, sticking with Windows is
like boarding the Titanic as it is about to sail out of the harbor.

Robert



More information about the Bioperl-l mailing list