note
McA
<p>Hi JPMH!</p>
<p>I just wrote the following script for cygwin perl:</p>
<code>
use strict;
use warnings;
use Data::Dumper;
print Dumper(\@ARGV);
</code>
<p>... and called it with <code>perl a.pl arg1 arg2</code>. 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.</p>
<p>Best regards<br/>
McA</p>
1004004
1004004