in reply to Converting VBScript to PerlScipt

If you have no idea what it does, then you shouldn't be the one to convert it to perl.
Converting VB to Perl,....and Visa Versa
How to convert VBasic sample code to Perl
VBScript to Perl Script