in reply to Can't locate ... @INC

Use this to determine weather the module is in the search library for perl. You can add the path of your module in if you need with the push command.
print @inc;
And......
push (@inc, "path");

All the Best, Eoin...

Replies are listed 'Best First'.
Re: Re: Can't locate ... @INC
by ihb (Deacon) on Jan 10, 2003 at 20:43 UTC
    This is exactly what the lib pragma is for, except it does it slightly better. That said, you don't have to worry whether @INC should be capitalized or not. But it should, anyhow. ;)

    ihb