...but doesn't the error "bash: ./scriptname.pl: No such file or directory" mean that bash can't find the file called scriptname.pl in the current directory?
If it's line endings that cause the problem, then that file has already been found. Wouldn't the error be either from the Perl compiler complaining about syntax, or from bash saying that it can't find whatever appears to be on the shebang line?
In reply to Re: Odd -w behavior on scripts written on Win32 platform
by mrbbking
in thread Odd -w behavior on scripts written on Win32 platform
by c
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |