Home > Archive > PERL Beginners > May 2004 > Broke My @INC
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Jason Dusek 2004-05-17, 6:30 pm |
| Hi List,
My @INC is messed up - Perl can't find any modules. If I know the path
to a module, is there some kind of quick work around?
For those who are curious, I seem to have broken my @INC by installing
the ports (I'm on FreeBSD) for Perl 5.6.1 and Perl 5.8.2.
--
-- Jason Dusek ("`-''-/").___..--''"`-._
-- | `6_ 6 ) `-. ( ).`-.__.`)
-- | (_Y_.)' ._ ) `._ `. ``-..-'
-- | _..`--'_..-_/ /--'_.' ,'
-- | (il),-'' (li),' ((!.-'
--
| |
| Randy W. Sims 2004-05-18, 12:30 am |
| Jason Dusek wrote:
> Hi List,
>
> My @INC is messed up - Perl can't find any modules. If I know the path
> to a module, is there some kind of quick work around?
>
> For those who are curious, I seem to have broken my @INC by installing
> the ports (I'm on FreeBSD) for Perl 5.6.1 and Perl 5.8.2.
You installed both versions? How are you running perl? What is
/usr/bin/perl linked to? What is 'perl -V'? 'perl5.6.1 -V'? 'perl5.8.2
-V'? Is the environment vars 'PERLLIB' and/or 'PERL5LIB' set?
Randy.
| |
| Ramprasad A Padmanabhan 2004-05-18, 4:30 am |
| set environment var PERLLIB
on linux like systems with perl 5.8.3 you will do something like
export
PERLLIB=/usr/lib/perl5/5.8.3/i386-linux-thread-multi:/usr/lib/perl5/5.8.3:/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi:/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi:/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi:/usr/lib/perl5/s
ite_perl/5.8.0/i386-linux-thread-multi:/usr/lib/perl5/site_perl/5.8.3:/usr/lib/perl5/site_perl/5.8.2:/usr/lib/perl5/site_perl/5.8.1:/usr/lib/perl5/site_perl/5.8.0:/usr/lib/perl5/site_perl:/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi:/usr/lib/p
erl5/vendor_perl/5.8.2/i386-linux-thread-multi:/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi:/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi:/usr/lib/perl5/vendor_perl/5.8.3:/usr/lib/perl5/vendor_perl/5.8.2:/usr/lib/perl5/vendor_perl/5
.8.1:/usr/lib/perl5/vendor_perl/5.8.0:/usr/lib/perl5/vendor_perl:.
On Tue, 2004-05-18 at 02:52, Jason Dusek wrote:
> Hi List,
>
> My @INC is messed up - Perl can't find any modules. If I know the path
> to a module, is there some kind of quick work around?
>
> For those who are curious, I seem to have broken my @INC by installing
> the ports (I'm on FreeBSD) for Perl 5.6.1 and Perl 5.8.2.
> --
> -- Jason Dusek ("`-''-/").___..--''"`-._
> -- | `6_ 6 ) `-. ( ).`-.__.`)
> -- | (_Y_.)' ._ ) `._ `. ``-..-'
> -- | _..`--'_..-_/ /--'_.' ,'
> -- | (il),-'' (li),' ((!.-'
> --
| |
| Randy W. Sims 2004-05-18, 7:30 am |
| Jason Dusek wrote:
> Hi List,
>
> My @INC is messed up - Perl can't find any modules. If I know the path
> to a module, is there some kind of quick work around?
>
> For those who are curious, I seem to have broken my @INC by installing
> the ports (I'm on FreeBSD) for Perl 5.6.1 and Perl 5.8.2.
You installed both versions? How are you running perl? What is
/usr/bin/perl linked to? What is 'perl -V'? 'perl5.6.1 -V'? 'perl5.8.2
-V'? Is the environment vars 'PERLLIB' and/or 'PERL5LIB' set?
Randy.
|
|
|
|
|