I want to wrap a perl one-liner in a batch file. For (trivial) example, in a unix shell I could quote up a command like this:
perl -e 'print localtime() . "\n"'
But DOS chokes on that with the helpful
Can't find string terminator "'" anywhere before EOF at -e line 1.
What's the best way to do this within a .bat?