I can seem to be able to pass arguments to my perl script on a windows 7 machine. Microsoft is not help. Has anyone succeeded in being able to pass arguments?
My myperl.pl script does not receive any argument.
I am sorry not to have provided more detail. I inserted the following at the very beginning of my code which showed me that I am not getting any arguments:
my $cnt = @ARGV; print "Count=$cnt\n"; print "@ARGV\n"; exit;
and I got the following when I run it:
H:\>History-Reader.pl arg1 arg2 arg3
Count=0
I also get the following when issuing suggested commands:
H:\>assoc .pl
.pl=Perl
H:\>ftype Perl
Perl="C:\Perl\bin\perl.exe" "%1" %*
I TOTALLY DO NOT LIKE WINDOWS, but I have no choice for this program.
Does anyone have any other suggestions?