On 22 Sep 2004 at 0:07, Steve Pick wrote:

> This is extremely annoying and the help in pp should probably be 
> removerd or at least summarized to a brief explanation of the available 
> command line switches. perldoc pp gives the same help but it actually 
> works properly

I guess it's annoying if you keep doing it :) However, a typical "usage" summary is 
probably better since perldoc itself is just as easy to run and the fallback of 
pod2text runs right off the screen.

> 
> Glenn Linderman wrote:
> 
> > A quick look at "pp.bat" makes me think that this isn't really a PAR 
> > problem, that it is a problem for perldoc.bat... which seems to launch 
> > some pager... looks like more< is the first to try...
> > 

It is a perldoc.bat problem. Even this:

        perl -e "exec 'perldoc pp.bat'"

has the same problem, but:

        perl -e "system 'perldoc pp.bat'"

works. pp.bat uses exec to avoid fall-thru to:

        exec "pod2text $0"

if perldoc exists. The difficulty with system is the difference in return values for 
different OSes.

Alan

Reply via email to