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
|
|