in reply to modify @INC
Beware. Dot is not at the end of @INC if you're running as root, so you just inserted your directory at some arbitrary place in the middle.
If you don't want dot, remove it:
@INC = grep { $_ ne "." } @INC, $your_path;
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
---|
In Section
Craft