in reply to Divert STDOUT temporarily


For the FAQs, try perldoc perlfaq at the command prompt, it'll show you the overview of the FAQ lists, and show you the category of content in the various pages of FAQs, like:

perlfaq1 - General Questions About Perl perlfaq2 - Obtaining and Learning about Perl perlfaq3 - Programming Tools perlfaq4 - Data Manipulation perlfaq5 - Files and Formats perlfaq6 - Regular Expressions perlfaq7 - General Perl Language Issues perlfaq8 - System Interaction perlfaq9 - Web, Email and Networking

So for questions related to regular expressions, you'd check perldoc perlfaq6.


When your only tool is a hammer, all problems look like your thumb.

Replies are listed 'Best First'.
Re^2: Divert STDOUT temporarily
by AnomalousMonk (Bishop) on Apr 27, 2020 at 18:18 UTC

    There's also the perldoc -q switch, which will cause a FAQ keyword search.

    Give a man a fish:  <%-{-{-{-<