I don't believe that because you posted a module you intend to install.
Excuse me?
Do you think I'm lying about trivial things like this for no reason?
I didn't post a module, I posted a script - the important difference being that I can integrate this script into a bigger perl script I'm writing by simply putting it in a sub, and users can just run my script and not worry about how it converts HTML to txt. If I were to use a module, I'd have to tell users to install the module (utterly unrealistic in the case of most users) or package the whole thing up with PAR::Packer, which can break quite easily. BTW the original solution I used was HTML::Entities and HTML::Strip, then packaging the whole thing with PAR::Packer. But then I realized that an executable made with PAR::Packer on Ubuntu 9.x may not run on 8.x and an OS X Snow Leopard executable may not run on Leopard or Tiger... so here I am rewriting the HTML converter for compatibility, and here you are not believing it all for some mysterious reason.
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.