Proper Shell Scripting on Windows Servers with Perl