Re: Pod Usage Example

2008-12-23 Thread Stealth
On Tuesday 23 December 2008 10:05:24 am Mr. Shawn H. Corey wrote: > On Tue, 2008-12-23 at 20:16 +0530, Kelvin Philip wrote: > > When I call pod2usage(verbose => 2); the terminal is getting > > stuck. When I > > press CTRL+4, it comes out and displays the whole man page. > > Would you pls > > sugges

Re: Pod Usage Example

2008-12-23 Thread Mr. Shawn H. Corey
On Tue, 2008-12-23 at 20:16 +0530, Kelvin Philip wrote: > When I call pod2usage(verbose => 2); the terminal is getting stuck. > When I > press CTRL+4, it comes out and displays the whole man page. Would you > pls > suggest a solution for this issue? This sounds like a problem with your terminal em

Re: Pod Usage Example

2008-12-23 Thread Kelvin Philip
Hi, Thanks for the help :-) When I call pod2usage(verbose => 2); the terminal is getting stuck. When I press CTRL+4, it comes out and displays the whole man page. Would you pls suggest a solution for this issue? Regards, Kelvin Philip On Tue, Dec 23, 2008 at 6:54 PM, Mr. Shawn H. Corey wrote:

Re: Pod Usage Example

2008-12-23 Thread Mr. Shawn H. Corey
On Tue, 2008-12-23 at 13:29 +0530, Kelvin Philip wrote: > Hi, > > Would someone guide me with a simple example for perl documentation using > Pod :: Usage? # Documentation levels my $DOC_USAGE = 0; my $DOC_HELP = 1; my $DOC_VER = 2; my $DOC_MAN = 3; # --

Re: Pod Usage Example

2008-12-23 Thread Chas. Owens
On Tue, Dec 23, 2008 at 02:59, Kelvin Philip wrote: > Hi, > > Would someone guide me with a simple example for perl documentation using > Pod :: Usage? snip #!/usr/bin/perl use Getopt::Long; use Pod::Usage; my %opts; GetOptions( 'a' => \$opts{a}, 'b' => \$opts{b}, 'c' =>

Re: pod::usage example help

2004-01-09 Thread R. Joseph Newton
Paul Kraus wrote: > Ok if I understand this then if > --help is called from the page then should display this > =head1 SYNOPSIS Nope. The =head markup tag should not be shown. That is source code, not output. It is a different style from that called for in program code for a very good reason--