Evan Morris wrote:

> At least, to me.
> 
> My environment does not catch command line arguments. For instance, the
> following little test script returns nothing when run on my machine,
> although it behaves as expected when run on any other machine:
> 
> $c = @ARGV;
> $cnt = 0;
> while($cnt<$c)
>  {
>  print "$ARGV[$cnt]\n";
>  $cnt++;
>  };
> 
> Any ideas? I am running ActivePerl 5.6.1.631 on Win2k.


Try it this way and see if you get the same result:

foreach (@ARGV) { print "$_\n"; }

-- 
   ,-/-  __      _  _         $Bill Luebkert   ICQ=14439852
  (_/   /  )    // //       DBE Collectibles   Mailto:[EMAIL PROTECTED]
   / ) /--<  o // //      http://dbecoll.tripod.com/ (Free site for Perl)
-/-' /___/_<_</_</_     Castle of Medieval Myth & Magic http://www.todbe.com/

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to