in reply to Re^2: 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

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)).
  • Comment on Re^3: pod2usage not displaying the pod document information for verbose level 0 & 1 on LINUX
  • Select or Download Code

Replies are listed 'Best First'.
Re^4: pod2usage not displaying the pod document information for verbose level 0 & 1 on LINUX
by isha (Sexton) on Feb 05, 2008 at 05:12 UTC
    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).
        I had that problem, then traced it to the fact that my perl script was saved with PC-style line endings instead of UNIX-style ones.