Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Can't locate Text/CSV.pm in @INC

by kamal (Sexton)
on Jul 20, 2010 at 09:24 UTC ( #850385=perlquestion: print w/ replies, xml ) Need Help??
kamal has asked for the wisdom of the Perl Monks concerning the following question:

Hi, Even though "instmodsh" displays Text::CSV but i still get the error:

Can't locate Text/CSV.pm in @INC (@INC contains: /Users/kahmed/.cpan/build /Library/Perl/Updates/5.10.0/darwin-thread-multi-2level /Library/Perl/Updates/5.10.0 /System/Library/Perl/5.10.0/darwin-thread-multi-2level /System/Library/Perl/5.10.0 /Library/Perl/5.10.0/darwin-thread-multi-2level /Library/Perl/5.10.0 /Network/Library/Perl/5.10.0/darwin-thread-multi-2level /Network/Library/Perl/5.10.0 /Network/Library/Perl /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level /System/Library/Perl/Extras/5.10.0 .)

The host OS is Mac OS X 10.6.3

This is perl, v5.8.9 built for darwin-2level

Comment on Can't locate Text/CSV.pm in @INC
Re: Can't locate Text/CSV.pm in @INC
by almut (Canon) on Jul 20, 2010 at 09:38 UTC

    Looks like you have mixed up two installations of Perl (5.8.9 and 5.10.0).

Re: Can't locate Text/CSV.pm in @INC
by DrHyde (Prior) on Jul 20, 2010 at 09:53 UTC
    Looks like you've got two different perls installed and are using one to run whatever it is that needs Text::CSV and t'other to run instmodsh. I'm gonna guess that you've got a script with a #! line that points to the wrong place.
Re: Can't locate Text/CSV.pm in @INC
by Utilitarian (Vicar) on Jul 20, 2010 at 10:22 UTC
    You can either modify your script to point to the correct perl install or
    export PERL5LIB=$5.8.9_lib_location

    print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://850385]
Approved by almut
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2014-08-31 08:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls