| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Work with all your cloud files (Drive, Dropbox, and Slack and Gmail attachments) and documents (Google Docs, Sheets, and Notion) in one place. Try Dokkio (from the makers of PBworks) for free. Now available on the web, Mac, Windows, and as a Chrome extension!

View
 

PodUsage

Page history last edited by David B 12 years, 7 months ago

This module is handy because it allows you to pull usage info straight from the POD in the Perl script:

 

#!/usr/bin/perl

use Pod::Usage;

pod2usage();
exit;

__END__

=head1 NAME

blah.pl

=head1 SYNOPSIS

blah -foo qux -bar "quux"

=head1 OPTIONS

=over 8
=item B<-foo>

This does foo stuff.

=item B<-bar>

This does bar stuff.

=head1 DESCRIPTION

B<blah.pl> will do some stuff and then exit.

-Attribution

Comments (0)

You don't have permission to comment on this page.