Welcome to the Monastery | |
PerlMonks |
using my module.pm in different directory errorby t-rex (Scribe) |
on Aug 10, 2016 at 06:22 UTC ( [id://1169470]=perlquestion: print w/replies, xml ) | Need Help?? |
t-rex has asked for the wisdom of the Perl Monks concerning the following question: Hello Monks, This is my directory structure
now the urs.pl uses the files Yaml_libm.pm and others in the client folder. I want to know how should I include them in my urs.pl , I checked on this site and I got to know about use lib ‘..’; but when I do it I still get error that Yaml_Lib.pm and others not found in @INC
Note that this structure (entire scripts) can be in any directory eg; now my pwd is different it could be different on other machine but inside structure(scr/client/) remians constant.
Back to
Seekers of Perl Wisdom
|
|