in reply to Add directry to @INC system wide

Just set the PERL5LIB environment variable to the directory (or directories) you wish to include, and they will be prepended to @INC for every perl.

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: Add directry to @INC system wide
by dsheroh (Monsignor) on Mar 06, 2013 at 08:50 UTC
    From the OP:
    I don't want to use enviroment varibles because that are not always passed through to everyones shells.