use Getopt::Std; use strict; use vars qw/$opt_i/; getopt('i'); print "Increment value is $opt_i\n";
|
grep> cd pub grep> more beer |
In reply to Re: Using getopt
by grep
in thread Using getopt
by idunno
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |