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.Thread Previous | Thread Next