I have a perl script which uses some pm files. All the pm files were in same folder. I ran my script on unix promt, and it gives me error like "Cant Locate Tab_calc.pm in @INC (@INC contans blah blah..)"
I gave command at begining like
BEGIN { unshift(@INC, "\path\modules") }And i kept all my pm files in folder "modules"
I again got the same error, with only difference that this time @INC had the defined path.Then I tried
use lib '/path/modules'I am still getting the same error
What should I do?..
Update: Thanks Everybody..your points really added to my KnowledgebaseIn reply to Perl on Unix by tej
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |