Quantcast
Channel: Can't locate MyModule/Config.pm in @INC - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Can't locate MyModule/Config.pm in @INC

$
0
0

I need to use MyModule.pm in perl script and add it to @INC

1. use lib "./MyModule";2. use MyModule::Config;

MyModule located in the same folder whith script, but when I start my script I have

Can't locate MyModule/Config.pm in @INC (you may need to install the MyModule::Config module) (@INC contains: ./lib ./MyModule /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at script.pl line 2.BEGIN failed--compilation aborted at script.pl line 2.

Glad to any help


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images