bbb has asked for the wisdom of the Perl Monks concerning the following question:
Hi fellow monks!
I would like to ask on what will be the best approach if you are using an old version of Perl or only a Perl Win32 version and most of the modules are not supported (e.g. File::Find, File::Copy).I had made this perl script and this should be ran through a .bat file which calls a perl.exe (which a Win32 version, I think) and the said script.
An error is displayed "Can't locate strict.pm in @INC at C:\tmp\PerlScript.pl"
Upgrading is not an option and using a .bat file is the only way that is allowed to run the script. I had read that it is possible to download the missing modules and call it within the script. But I can't figure it out on how it should work.
Please kindly help! Thanks you so much!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can't locate .pm in @INC
by dasgar (Priest) on Nov 12, 2014 at 06:05 UTC | |
by Anonymous Monk on Nov 12, 2014 at 07:43 UTC | |
|
Re: Can't locate .pm in @INC
by Anonymous Monk on Nov 12, 2014 at 02:27 UTC | |
by bbb (Novice) on Nov 12, 2014 at 02:38 UTC | |
by Anonymous Monk on Nov 12, 2014 at 03:52 UTC | |
by bbb (Novice) on Nov 12, 2014 at 06:10 UTC | |
by Mr. Muskrat (Canon) on Nov 12, 2014 at 17:30 UTC |