The problem here is, "It works when explicitly invoked with perl, but fails when launched as an executable." The reason in this case appears to be a DOS line ending causing a carriage return to be seen as part of the interpreter's name.
In reply to Re (tilly) 2: Turning *off* warnings causes the script to fail :(
by tilly
in thread Turning *off* warnings causes the script to fail :(
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |