Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

perl docs -- I am so sick of...

by 7stud (Deacon)
on Apr 21, 2013 at 07:03 UTC ( #1029724=perlquestion: print w/ replies, xml ) Need Help??
7stud has asked for the wisdom of the Perl Monks concerning the following question:

1) Not being able to quickly find the match operator docs. Whoever created the concept of "perl quote like operators" was daft. In the perl docs, there should be one page in the documents titled "Match operator: m//"; there should be another page in the documents titled "Substitution operator: s///"; etc. Grouping all those operators under one vague heading and another vague subheading was a terrible idea. I should be able to go to the match operator with one click on the google search results. Having to navigate to perlop>quote like operators>then scroll around looking for the match operator is ridiculous organization.

Comment on perl docs -- I am so sick of...
Re: perl docs -- I am so sick of...
by moritz (Cardinal) on Apr 21, 2013 at 07:16 UTC
Re: perl docs -- I am so sick of...
by Anonymous Monk on Apr 21, 2013 at 07:50 UTC
Re: perl docs -- I am so sick of...
by Anonymous Monk on Apr 21, 2013 at 10:52 UTC

    Have you checked using perldoc -o <file_type> -d <destination_file> ...
    .I use to have an old script written with this that works like 80% - 85% of the time browsing the pod files documentation for information and output as html.
    See below, the following might help:

Re: perl docs -- I am so sick of...
by CountZero (Bishop) on Apr 21, 2013 at 10:56 UTC
    Here is some cheese.

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

    My blog: Imperial Deltronics
Re: perl docs -- I am so sick of...
by LanX (Canon) on Apr 21, 2013 at 11:09 UTC
    see Re: Perldoc Keyword Search (update4)

    Usage:

    pd m Matches for m found in : /usr/share/perl/5.10/pod/perlop.pod

    opens all perldocs with searchpattern X<m> in pager, reveals two hits:

    1. hit in perlop
      ">>> X<m> <<<" in perlop Quote and Quote-like Operators While we usually think of quotes as literal values, in Perl the +y function as operators, providing various kinds of interpolating + and pattern matching capabilities. Perl provides customary quote ...

    2. hit in perlop

      ">>> X<m> <<<" in perlop m/PATTERN/msixpogc /PATTERN/msixpogc Searches a string for a pattern match, and in scalar co +ntext returns true if it succeeds, false if it fails. If no +string is specified via the "=~" or "!~" operator, the $_ stri +ng is searched. (The string specified with "=~" need not be +an lvalue--it may be the result of an expression evaluatio +n, but ...

    Cheers Rolf

    ( addicted to the Perl Programming Language)

Re: perl docs -- I am so sick of...
by Anonymous Monk on Apr 21, 2013 at 12:07 UTC
    I should be able to go to the match operator with one click on the IRSE search results

    really?

Re: perl docs -- I am so sick of...
by Anonymous Monk on Apr 22, 2013 at 08:59 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1029724]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2014-07-13 03:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (245 votes), past polls