"be consistent" | |
PerlMonks |
Re: Having to remove \r from $ARGV[-1]by McA (Priest) |
on Nov 15, 2012 at 15:24 UTC ( [id://1004032]=note: print w/replies, xml ) | Need Help?? |
Hi JPMH! I just wrote the following script for cygwin perl:
... and called it with perl a.pl arg1 arg2. I couldn't see a \r at the end of the line. So my guess is: In your shell script where you call the perl script is a extra \r at the end of the line. Look at your editor settings there. Best regards
In Section
Seekers of Perl Wisdom
|
|