Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
I know there is an HTML sub-directory under C:\Perl, but it is annoying to have to leave the cmd window, open Windows Explorer, drill down to the HTML path, and find the module documentation.

Hm. I find perldoc annoying full stop. -f if it's a function, except when it's log2 in which case -q. And what's that magic formulation for arctan to get pi? More importantly is that -f or -q?

And holyshit ^C^C^C^C^C^C....<up><^end> | more<ret>

And no keyword search unless it happens to be a word that someone already thought I might want to search for. And then only if you spell it right, cos there's no wildcarding. What! Perldoc can't do regexes?

You could try -m grep, but with all the HTML it's mostly unintelligible. And woe betide you if your search term clashes with an html keyword. And if you're lucky enough to choose a term that finds what you need, the salient piece of information will always be on the next line without the keyword, and therefore not make it through the filter.

My browser is always open, and in one of the tabs is the AS html. In that tab I just need to type ".keyword" and it does an intelligent--content-only, no-markup--search of the index. Eg. ".sim" finds: CGI::Simple; Hit F3 a few times and it takes me through Filter::Simple;GD::Simple; Locale::Simple; Log::Simple; LWP::Simple; ...Opt::Simplex; POD::Simple; ...Simpletree; Test::Simple; Thread::Pool::Simple; XML::Simple.

13 keystrokes and I've seen every likely candidate for "sim".

Of course, it's still not a full keyword search of all the content, but the next tab along is CPAN search, and it does a pretty good job for module POD contents. Shame there's no regexes.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

In reply to Re: Better perldoc on Windows by BrowserUk
in thread Better perldoc on Windows by roho

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-24 11:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found