Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: pod2usage not displaying the pod document information for verbose level 0 & 1 on LINUX

by isha (Sexton)
on Feb 01, 2008 at 05:09 UTC ( [id://665517]=note: print w/replies, xml ) Need Help??


in reply to Re: pod2usage not displaying the pod document information for verbose level 0 & 1 on LINUX
in thread pod2usage not displaying the pod document information for verbose level 0 & 1 on LINUX

Hi Kyle,
When i ru nthe script with
> test.pl -h
> test.pl --help
> test.pl -help

It is not showing me anything on the prompt. but when i run it with -man it is opening the man page.
Did u try running this script in Linux?
Also, when I tried with the -input=>"./help.pm" for help option it is showing me the SYNOPSIS from help.pm file. but without -input=>"./help.pm" (POD in current) it is not working... Is there anything wrong with POD? Please help me...
  • Comment on Re^2: pod2usage not displaying the pod document information for verbose level 0 & 1 on LINUX

Replies are listed 'Best First'.
Re^3: pod2usage not displaying the pod document information for verbose level 0 & 1 on LINUX
by parv (Parson) on Feb 01, 2008 at 05:52 UTC
    Say, after you remove the 5 some spaces on the line after =item B<-p> <path>, does pod2usage() works as expected? That is what podchecker(1) reported anyway (in spite of which "Usage:" is being printed here as expected with perl 5.8.7 (on GUN/Linux)).
      I have run the podchecker & resolved all the warnings but still the script is not working for "test.pl -help". It is only working for verbose level 2.
        I am out of ideas then, other than to investigate the workings of Pod::Usage module (unless there is some other issue).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://665517]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-24 06:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found