in reply to Re^3: Create new command winow using Term::ShellUI
in thread Create new command winow using Term::ShellUI
die "usage: perl argv.test.pl a b c d ...\n" unless @ARGV; for(0..$#ARGV){ print " ARG $_ $ARGV[0]\n"; } __END__ C:\>perl argv.test.pl usage: perl test.pl a b c d ... at argv.test.pl line 2. C:\>perl argv.test.pl 1 2 a b c ARG 0 1 ARG 1 1 ARG 2 1 ARG 3 1 ARG 4 1 C:\>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Create new command winow using Term::ShellUI
by Anonymous Monk on Jun 05, 2008 at 04:46 UTC | |
by kranthi (Sexton) on Jul 12, 2008 at 09:56 UTC |