> Is there a way to modify @INC for the perl installation as a whole?

Yes.  Recompile Perl setting the appropriate compile-time flags.  More
importantly, though: Why?  It is just easier to install your modules
in the standardly defined place for site-specific modules.

> 
> All my scripts have logic to push the same directory to @INC. It's
> rather repetative.
> 

You do not need logic to do that.  It would seem better to use:

      use lib '/path/to/my/misplaced/perl-modules'; 

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
        Lawrence Statton - [EMAIL PROTECTED] s/aba/c/g
Computer  software  consists of  only  two  components: ones  and
zeros, in roughly equal proportions.   All that is required is to
sort them into the correct order.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to