in reply to @INC not reflecting correctly
and place it in one of thepackage My_INC; BEGIN { @INC = qw( /ajperznes/perl/localperl /ajperznes/perl/lib/5.32.0/x86_64-linux /ajperznes/perl/lib/5.32.0 /ajperznes/perl/lib/site_perl/5.32.0/x86_64-linux /ajperznes/perl/lib/site_perl/5.32.0 /ajperznes/perl/lib/5.32.0/x86_64-linux /ajperznes/perl/lib/5.32.0 ); }; 1;
Cheers,C:\>perl -le "print 'PERL5OPT: ' . $ENV{PERL5OPT}; print for @INC;" PERL5OPT: C:/perl-5.34.0/site/lib/MSWin32-x64-multi-thread C:/perl-5.34.0/site/lib C:/perl-5.34.0/lib/MSWin32-x64-multi-thread C:/perl-5.34.0/lib C:\>set PERL5OPT=-MMy_INC C:\>perl -le "print 'PERL5OPT: ' . $ENV{PERL5OPT}; print for @INC;" PERL5OPT: -MMy_INC /ajperznes/perl/localperl /ajperznes/perl/lib/5.32.0/x86_64-linux /ajperznes/perl/lib/5.32.0 /ajperznes/perl/lib/site_perl/5.32.0/x86_64-linux /ajperznes/perl/lib/site_perl/5.32.0 /ajperznes/perl/lib/5.32.0/x86_64-linux /ajperznes/perl/lib/5.32.0 C:\>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: @INC not reflecting correctly
by syphilis (Archbishop) on Aug 27, 2021 at 03:44 UTC | |
by swl (Prior) on Aug 27, 2021 at 05:20 UTC | |
by syphilis (Archbishop) on Aug 27, 2021 at 09:30 UTC | |
by swl (Prior) on Aug 27, 2021 at 23:55 UTC | |
by syphilis (Archbishop) on Aug 28, 2021 at 04:22 UTC | |
| |
by bliako (Abbot) on Aug 28, 2021 at 04:58 UTC |