in reply to Re: RFC: How to survive your first few months of Perl
in thread RFC: How to survive your first few months of Perl

perldoc -l Some::Module | xargs less

How about perldoc -m Some::Module instead?

--MidLifeXis

Replies are listed 'Best First'.
Re^3: RFC: How to survive your first few months of Perl
by quester (Vicar) on Nov 15, 2008 at 19:05 UTC
    If you define PERLDOC_PAGER=less or PAGER=less in your environment, say in .bashrc or the equivalent, it works fine. Otherwise perldoc will use more as a pager, which works, but doesn't know how to scroll backwards. That's sad.

      It all depends on your unix environment / version of more. HP-UX more handles paging backwards just fine, for example. I would agree that not being able to page backwards is a pain, but it is not a generic more problem, but rather a problem with the more program on specific distributions.

      --MidLifeXis