mhearse has asked for the wisdom of the Perl Monks concerning the following question:
Is there a module I could use to do this? Or a better way?use strict; use Getopt::Std; my %opts; getopts('h', \%opts); system "perldoc $ARGV[0]" if $opts{h};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Formatted POD when -h is passed to program
by Corion (Patriarch) on Mar 09, 2008 at 17:28 UTC | |
by mhearse (Chaplain) on Mar 09, 2008 at 18:21 UTC |