in reply to Running Perl Scripts From Another Windows/DOS Directory

What Windows OS? On my Win2k system the registry setting has the default directory of perl as
C:\Perl\
The path to perl or "BinDir" is
C:\Perl\bin\perl.exe
If there are other settings, I don't know where they would be. However, I can be in one directory and run code from another by typing:
C:\DirectoryOne>perl C:\DirectoryTwo\Somescript.pl
and it works. (Note that the "C:\DirectoryOne>" above is the command line.)Your example confuses me--unless your test.pl script actually is in your top level Perl directory. And that seems like an untidy way to do things. My personal opinion is to get my personal scripts in a directory outside of the main Perl directory. (YMMV)