in reply to Batch files in Win/Perl

This question doesn't actually have that much to do with perl. From perl's point of view, the code consists of an assignment to the array @rem with a single element, being a long string from line 1 through 12. After that comes the body of the original perl script.

From DOS's point of view, though, it's a perfectly valid batch file -- though my batch is a bit (OK, a lot) rusty.


Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).