Help for this page

Select Code to Download


  1. or download this
    use strict;
    my $numargs = @ARGV;
    print "numargs = $numargs\n";
    if ( $numargs > 0 )
    { for my $a ( @ARGV ) { print "  $a\n"; } }
    
  2. or download this
    testarg a b c
    
  3. or download this
    numargs = 0