Click to See Complete Forum and Search --> : modules not loading?


NathanTwist
03-29-2002, 12:30 AM
aye guys. figured this was worth starting a new thread. just messing around, trying to get MP3::Info into one of my scripts. i installed it as per the cpan instructions for installing them, but whenever i try to run the script, it tells me i cant find the module. i added a
BEGIN {
push @INC, "/usr/lib/perl5/site_perl/5.6.0/MP3/
}
to the top of the code, but its still telling me the same thing. any ideas?

takshaka
03-29-2002, 04:44 AM
use lib '/usr/lib/perl5/site_perl/5.6.0';
use MP3::Info;


You shouldn't need the 'use lib' if the module is actually installed in that directory, though.