develooper Front page | perl.perl5.porters | Postings from April 2006

[perl #31227] perldoc -f, -q ignores extra arguments with no notice

From:
Steve Peters via RT
Date:
April 17, 2006 13:08
Subject:
[perl #31227] perldoc -f, -q ignores extra arguments with no notice
Message ID:
rt-3.0.11-31227-132342.6.5474106981334@perl.org
> [rmb1 - Mon Sep 20 11:57:47 2004]:
> 
> > [jidanni@jidanni.org - Wed Aug 18 15:59:12 2004]:
> > 
> > Gentlemen, would you look at that. Perldoc is ignoring additional
> > arguments without any qualms:
> > $ perldoc -f no-op noop
> > No documentation for perl function `no-op' found
> > $ perldoc -q no-op noop
> > No documentation for perl FAQ keyword `no-op' found
> > 
> > However it is acceptable here:
> > 
> > $ perldoc perldoc perlop
> > Perldoc is only really meant for reading one document at a time.
> > So these parameters are being ignored: 
> > /usr/share/perl/5.8/pod/perlop.pod
> > 
> Attached is patch for this behaviour.
> 
> Robin
> 

The attached patch was applied as change #27878.




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About