# HG changeset patch # User Heiko Schlittermann # Date 1341501741 -7200 # Node ID 99252f548cc0617a16dc86dad8f033c876676392 # Parent 4f3be01b88b61a6e4c406886f4e444396d3183b7 fixed POD diff -r 4f3be01b88b6 -r 99252f548cc0 bin/request --- a/bin/request Wed Jun 20 23:22:33 2012 +0200 +++ b/bin/request Thu Jul 05 17:22:21 2012 +0200 @@ -3,10 +3,9 @@ use 5.010; use strict; use warnings; -use Pod::Usage; use Getopt::Long; use Template; -#use autodie; +use Pod::Usage; my $DIR = "requests"; @@ -22,8 +21,8 @@ "init" => \$opt_init, "check" => \$opt_check, "h|help" => sub { pod2usage(-exit => 0, -verbose => 1) }, - "m|man" => sub { pod2usage(-exit => 0, -verbose => 2, - -noperldoc => system("perldoc -V >/dev/null 2>&1")) } + "m|man" => sub { pod2usage(-verbose => 2, -exit => 0, + -noperldoc => system("perldoc -V 1>/dev/null 2>&1")) } ) or pod2usage; my $CN = shift; @@ -91,6 +90,8 @@ The template file to be used for creating the request. The templates will be searched unter F. The only substituted item is [%CN%]. (default: request.cnf) +=back + =cut # vim:sts=4 ts=4 sw=4 aw ai sm: