This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Can't locate <file> in @INC (@INC contains <file> ... )

Hello,

I am a first-year graduate student working with perl for the first time. I am working on running the CREST (clipping reveals structure) pipeline. I set up a Blat gfServer and now I am running extractSClip.pl. I got the following error message:

can't locate SCValidator.pm in @INC (@INC contains: ...)

which I attempted to fix using the -I /path/to/SCValidator.pm argument. This led me to the following error message:

can't locate SCValidator.pm in @INC (@INC contains: /path/to/SCValidator.pm ....)

So, it appears that SCValidator is in @INC. Why does it still say that it cannot be located? Does anybody know what the problem is?

Thank you!

perl crest @inc

1 answer

the -I option must contain the root module path, not the module itself. take a look at some worked examples, which present a few different ways to avoid this annoying issue.

Log in to answer this question.