in reply to Perl on Unix

A safer and simpler way to write the BEGIN { unshift ... thing is
use lib '/path/modules/;

See lib.

Replies are listed 'Best First'.
Re^2: Perl on Unix
by JavaFan (Canon) on Aug 11, 2011 at 11:01 UTC
    Uhm, if you read the rest of the post of the OP, he has already done that (sans syntax error), so I presume he's aware of it.