Gorio3721 has asked for the wisdom of the Perl Monks concerning the following question:
sub parse_args { GetOptions ( 'help|h|?!' => \$help, 'interactive!' => \$interactive, 'man!' => \$man ) or pod2usage(2); pod2usage(1) if $help; pod2usage(-exitstatus => 0, -verbose => 2) if $man; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do I use Pod2usage as root?
by grantm (Parson) on Apr 17, 2003 at 00:10 UTC |