I second (third?) the advice for using
Update HTML Doc.
Since you are editing ActiveState's docs, you might want to check out
perltoc.
The author mentioned it on c.l.p.m. a couple of days ago. It adds a search box to the table of contents. You type in a regex directly. The neat thing is that it sets up a "client-side!" perl httpd to handle the requests.
caveats: the author uses CGI but uses a home-grown query-string parser - easily fixed. Also, it's client side - so you need javascript turned on and perlscript needs to be enabled for local files. It therefore only works on IE in a windows environment.
I modified the script to use the CGI.pm for fetching form values and to allow non-regex searches. I want to check with the author to see if it's ok to post the modified code here.
Alternatively, I might just rewrite it using server-side code to do the searching - it would be more secure. The problem with that is that you'd need to run the activestate docs through a real webserver.
Error: Keyboard not attached. Press F1 to continue.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.