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

  • Whenever you search in PBworks, Dokkio Sidebar (from the makers of PBworks) will run the same search in your Drive, Dropbox, OneDrive, Gmail, and Slack. Now you can find what you're looking for wherever it lives. Try Dokkio Sidebar for free.

View
 

PodUsage

Page history last edited by David B 13 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.