In article <[EMAIL PROTECTED]>, Matisse
Enzer <[EMAIL PROTECTED]> wrote:

> On Nov 23, 2007, at 8:19 AM, brian d foy wrote:
> 
> > If this were my problem, I think my first attempt would be writing my
> > own CPAN.pm script that set the environment and config just the way I
> > wanted it.
> 
> If you mean writing a script that uses CPAN.pm then that is what I  
> have done. Something like this:
> 
>     use CPAN;
>     my $settings = _get_settings();
>     CPAN::HandleConfig->load();
>     $CPAN::Config->{'makepl_arg'}   = $settings->{'makepl_arg'};
>     $CPAN::Config->{'build_dir'}    = $settings->{'build_dir'};
>     # Etc.
>     # then later....

Where in there are you modifying @INC? How is this script not working
for you?

Reply via email to