On Fri, Apr 28, 2006 at 03:35:03AM +0200, Arne Skjaerholt wrote: > Getting at argv/argc is actually pretty simple in Perl. The global array > @ARGV contains the arguments given on the command-line, but not the name > of the file (this datum is contained in $0). Therefore your argv in C > is $ARGV in Perl. The number of command-line arguments can be > obtained in two ways, either you interpret the array in a scalar context Except there is one big drawback for me (I'm not Perl-guru :-) ): If there are some file names on command line of perl-script, then perl redirects stdout to read from these files, which makes impossible to read from real stdout. At least for me :-) _______________________________________________ firstname.lastname@example.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"