So I have a folder called patchManagement. In that folder I have a lib folder. I want to run a perl file from the patchManagement folder that uses the modules in the lib folder, I tried using use lib '/lib' and use lib '$FindBin::Bin/lib' I am obviously doing this wrong, how should I be doing it?
Here are my errors incase they help.
Can't locate ID/PatchAssembly/ICSCERT.pm in @INC (@INC contains: /usr/ +local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /us +r/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at test. +pl line 4. BEGIN failed--compilation aborted at test.pl line 4.
the ID folder is inside the lib folder
In reply to Set include path by jayto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |