Pod::Help finally makes POD useful for scripts.

Just write the documentation for your script as POD and then add use Pod::Help qw(--help -h); to it. Now whenever someone calls your script with '-h' or '--help' (s)he will get your POD.

And if you don't want to distribute a module with your script (or require the user to install it), no problem. Pod::Help's code is so short you can easily copy it to your script, too.

Search, Ask, Know

Replies are listed 'Best First'.
Re: Pod::Help released
by cchampion (Curate) on Oct 19, 2004 at 19:29 UTC

    Not to rain on your parade, but doesn't Pod::Usage do the same thing?

      Not exactly, Pod::Usage is a whole lot bigger. My module is intended to be very lightweight easy to use.

      Search, Ask, Know