A common new user error is to ftp a perl script from a MSFT windows machine to a unix machine in binary mode. As near as I can tell UNIX perls do not like a shbang line like:
"#!/usr/bin/perl -wT\r\n"
However tacking a space onto the end of the shbang line llke this:
"#!/usr/bin/perl -wT \r\n"
...works just fine
Is there are reason not to distribute my scripts w/ a space at the end of the shbang?
In reply to upload cgi in binary workaround by mandog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |