in reply to translate VB Script to Perl Script

I recall a thread a few years back with the same request, "Take my VB Script and convert it to Perl", or something like that. The best answer in the thread was:

Insert these line at the top of the VB Script file:
#!/usr/local/bin/perl use strict; use warnings;
Now run the code and fix all of the errors and warnings.
I may be not remembering some of the details, I am an Old Bear after all, but this looks like a good starting point for you.

Update: Corrected typoes. I need to remember "Coffee BEFORE Perl Monks."

I Go Back to Sleep, Now.