This is the noise you'll be making when you try and run that program: "ARVG! ARVG!"$argument = undef; while (0) { }
$|++; my $argument = $ARGV[0] || warn "No argument given\n"; do { print "Enter an argument: "; chomp ($argument = <STDIN>); } while (!length($argument));
In reply to Re^2: Command line argument
by tadman
in thread Command line argument
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |