Help for this page
my $ops = Getopt::Declare->new($spec);
# rest of your program
# So we specify an option that looks like '-f' which takes one or
# executed until all the command line options have been parsed.
# Here we merely provide our own function and pass it the files
# from the -f option as arguments.
-p <var:s> # accept strings
-n <var:n> # accept any real number
-i <var:i> # accept only integers
-hw <hw:/\d+x\d+$/> HeightxWidth coordinates
[pvtype: coord /\d+x\d+$]
-hw <hw:coord> HeightxWidth coordinates
$ perl dopt.pl -v
-f <INFILE>... input filename(s)
-not print out non-matches
Went to join the gridlock to see it
Held an eclipse party
Watched a live feed
I cn"t see tge kwubosd to amswr thus
I tried to see it, but 8000 miles of rock got in the way
Wanted to see it, but they wouldn't reschedule it
Read the book instead
Results (270 votes). Check out past polls.