Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: How can use Perl to strip away some nested HTML markup code, like <SCRIPT> ?

by songahji (Friar)
on May 11, 2005 at 17:58 UTC ( [id://456095]=note: print w/replies, xml ) Need Help??


in reply to How can use Perl to strip away some nested HTML markup code, like <SCRIPT> ?

if you have lynx (a program to browse the World Wide Web which works on simple text terminals) then call it.
$text_only = `lynx -dump $filename`;
OR

If you have Netscape, use its "Save as" option with the type set to "Text". This one works with tables.

  • Comment on Re: How can use Perl to strip away some nested HTML markup code, like <SCRIPT> ?
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://456095]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-04-24 06:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found