in reply to How can use Perl to strip away some nested HTML markup code, like <SCRIPT> ?
$text_only = `lynx -dump $filename`; [download]
If you have Netscape, use its "Save as" option with the type set to "Text". This one works with tables.