http://www.perlmonks.org?node_id=981957


in reply to Re^2: using the Modules
in thread using the Modules

Yes, I didn't know that this line must be written in command line. Instead, I was writting any similar line to my program. Also, now I made it clear for myself the factors like "compile time" and a "run time"...

Thanks, now I configured my module directories, afterall, I'll write at top line of my programs (that uses modules) just this line: 'use Module_name;':

(at command line) export PERL5LIB="/home/hamidjon/Perl/Learning/code_examples/myModules"
...and I check using 'perl -V':
Built under linux Compiled at Mar 23 2012 17:00:13 %ENV: PERL5LIB="/home/hamidjon/Perl/Learning/code_examples/myModules" @INC: /home/hamidjon/Perl/Learning/code_examples/myModules /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl