Mark - Copied and ran you script exactly as you have shown and it works. I named it t02.pl, so I ran it like:
c:> perl t02.pl a b and got a b I am running ActivePerl 5.6.1 on W2K sp3. 1) Did your say 'perl' or just enter the script name? If not, try w/perl. 2) If that is the problem, there is _something_ (I forgot) you have to fix in the file associations to get params passed. Someone here posted the fix a few days ago - maybe they will again (I'll look too). Aloha => Beau. -----Original Message----- From: Mark Goland [mailto:mgoland@;optonline.net] Sent: Sunday, October 27, 2002 8:49 PM To: [EMAIL PROTECTED] Subject: ARGV hey guys, I am trying to run this code on ActiveState v5.6.1, doesnt seem to wanna print the arguments I am passing. Can some one please look over it and see if u can spot anything. #!c:\perl\bin\perl -w print "$ARGV[0]\t$ARGV[1]\n"; Thanx in Advance, Mark -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]