Hi
(kinda new at perl programming)
I'm looking for a module that given an url will allow me to get to a point where I have an array,
the elements of which are strings of the same (as lose as possible at least) text lines,
that I would see in my internet browser as it opened the web page's url.
so basically in the point if I would print the array I would see the same (text only of course) thing as my browser would.
kinda like using perl as my internet browser (if I don't mind there are no images etc.. ^^).
thx
oh yeah almost forgot:
The general Idea is that I could have perl analyze a webpage's text content automatically, without me having to know html or javascript or anything else other than perl and the page's content's form.
Also it would be gr8 if the module could also handle tables (even if only tables of text).
And I would prefer a module that would handle any text languages,
not only English (if possible),
or alternatively a 2nd module that could translate the character between languages,
as if the 1st module could do it in all languages (unicode thing ? never mind ^^).
The cpan search engine was as always no help without a specific module's name...
I tried LWP & LWP::simple (& some other LWP:***),
but if there is a way to use them 4 that,
I couldn't figure it out myself.
thx again ;-)
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.