in reply to RE: Are there argc and argv type functions in perl
in thread Are there argc and argv type functions in perl

my $argc = @ARGV; print "There are $argc args.\n";

Replies are listed 'Best First'.
Re^3: Are there argc and argv type functions in perl
by Anonymous Monk on Jun 08, 2010 at 16:09 UTC
    Nice, you answered a ten-year old, already perfectly answered question with an unnecessary two-liner... ;-)
      But it helped me!