J
Joshua Eliason
hi,
i cannot get pod2usage to produce the associated output for verbose
levels 0 or 1 from the embedded pod. it prints nothing for verbose
level 0 and 1. verbose level 2 does produce a man page output though.
how can i get pod2uage to output the embedded pod info for verbose
level 0 and 1? i tested, and got the same problem, on cygwin with perl
5.8 and linux using perl 5.6. thanks in advance for any help.
josh
here's the script i tested:
#!/usr/bin/perl -w
use strict;
use Pod::Usage;
pod2usage(-verbose => 1);
__END__
=pod
=head1 NAME
podtest - test pod output using pod2usage
=head1 SYNOPSIS
B<podtest> [B<--help>] [B<--man>]
=head1 OPTIONS
=over 8
=item B<--help>
Print a brief help message and exits.
=item B<--man>
Prints the manual page and exits.
=back
=head1 DESCRIPTION
B<podtest> tests pod output using pod2usage.
=cut
i cannot get pod2usage to produce the associated output for verbose
levels 0 or 1 from the embedded pod. it prints nothing for verbose
level 0 and 1. verbose level 2 does produce a man page output though.
how can i get pod2uage to output the embedded pod info for verbose
level 0 and 1? i tested, and got the same problem, on cygwin with perl
5.8 and linux using perl 5.6. thanks in advance for any help.
josh
here's the script i tested:
#!/usr/bin/perl -w
use strict;
use Pod::Usage;
pod2usage(-verbose => 1);
__END__
=pod
=head1 NAME
podtest - test pod output using pod2usage
=head1 SYNOPSIS
B<podtest> [B<--help>] [B<--man>]
=head1 OPTIONS
=over 8
=item B<--help>
Print a brief help message and exits.
=item B<--man>
Prints the manual page and exits.
=back
=head1 DESCRIPTION
B<podtest> tests pod output using pod2usage.
=cut