#!/usr/bin/perl -- use warnings; use strict; if (@ARGV) { for my $n ( 0 .. $#ARGV ) { print "ARGV[$n]=$ARGV[$n]\n"; } } else { print "No command line parameters found.\n"; }
In reply to Re: Picking up command line arguments with Strawberry Perl: ARGV
by Anonymous Monk
in thread Picking up command line arguments with Strawberry Perl: ARGV
by Aaron_A
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |