I think you want this:
#! /usr/bin/perl -w use strict; use Getopt::Long; my $test = 1; GetOptions ('test' => \$test); if ($test) { ... }
In reply to Re: Getopt configuration
by pbeckingham
in thread Getopt configuration
by yoda54
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |