On Mon Feb 07 12:10:38 2011, scop wrote: > > perldoc.pod's ENVIRONMENT section contains: > > > One useful value for "PERLDOC_PAGER" is "less -+C -E". > > However that doesn't work at least with perldoc -m: > > $ export PERLDOC_PAGER="less -+C -E" > $ perldoc -m Pod::Perldoc > (hit q to exit less) > Can't exec "less -+C -E": No such file or directory at > /usr/share/perl5/Pod/Perldoc.pm line 1451. > > Not sure if this is a problem with the documentation or the way > perldoc ends up invoking PERLDOC_PAGER. > I can confirm that I get this interaction when using 'perldoc -m'. $ echo $PERLDOC_PAGER less -+C -E $ perldoc -m Pod::Perldoc Can't exec "less -+C -E": No such file or directory at /usr/local/lib/perl5/5.14.2/Pod/Perldoc.pm line 1451. Can't exec "/usr/bin/less -R": No such file or directory at /usr/local/lib/perl5/5.14.2/Pod/Perldoc.pm line 1451. [... and then the code displays] ... but I should note that I don't get it with simple 'perldoc' or with 'perldoc -l'. Thank you very much. Jim KeenanThread Next