![]() |
|
Perl-Sensitive Sunglasses | |
PerlMonks |
Pod::Help releasedby Beechbone (Friar) |
on Oct 19, 2004 at 18:42 UTC ( #400627=perlnews: print w/replies, xml ) | Need Help?? |
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
Back to
Perl News
|
|