WingedKnight
Programmer
I have ActiveState Perl installed on a Windows machine.
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...:
...just fine.
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?
Now, suppose I have scripts, including one called "SomeScript.pl", in this directory:
Code:
"C:\Example\Foo\Bar\"
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...:
Code:
perl C:\Example\Foo\Bar\SomeScript.pl
...just fine.
But the following...:
Code:
perl SomeScript.pl
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?