[prev in list] [next in list] [prev in thread] [next in thread]
List: perl5-porters
Subject: Re: [perl #22329] v5.8.0: perldoc -m does not accept options in PAGER
From: Michael G Schwern <schwern () pobox ! com>
Date: 2003-05-31 10:16:12
[Download RAW message or body]
On Mon, May 26, 2003 at 04:12:22PM -0000, Manoj Kumar wrote:
> When invoked with -m, perldoc does not accept options
> in PAGER (e.g., PAGER="less -isr"). The offending
> code is below (starts at line 473 in the file):
Technically, you should be setting that up as:
PAGER=less
LESS=-isr
more works similarly.
> if ($opt_m) {
> foreach my $pager (@pagers) {
> if (system($pager, @found) == 0) {
>
> One fix is to pass a single argument to system(),
> perhaps like this:
>
> if (system("$pager @found") == 0) {
>
> This assumes module pathnames need not be quoted.
--
I knew right away that my sock and your eyebrows could be best friends.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic