Sep 15, 2016, 6:37 PM
I have ActiveState Perl installed on a Windows machine.
How to Get Perl to Automatically Look in Specific Directories for Scripts?
Now, suppose I have scripts, including one called "SomeScript.pl", in this directory:
How do I configure Perl to automatically look in that directory for scripts when it is passed a script path?
For example, from the command line, I can run...:
But the following...:
fails because Perl doesn't know to look in the "C:\Example\Foo\Bar\" directory. How do I configure Perl to automatically look in some specific directory for scripts when passed a script name from the command line?
(This post was edited by WingedKnight on Sep 16, 2016, 12:12 AM)