|
Posted by Charlie on November 8, 2004, 10:57 pm
Please log in for more thread options
Hi All,
I am using the WWW::Mechanize Package to access some web page
automatically. And I hava a question that I am not sure how to solve.
Here is part of my script which is very simple and works for lots web
pages.
"
use strict;
use warnings;
use WWW::Mechanize;
$mech = WWW::Mechanize->new();
$mech->form(1);
....
$mech->submit();
",
but not for the html file as follows, as there is a "</form>" missing.
"
<html>
<head>
<title>...</title>
</head>
<body>
<form name="form" ...method="post">
<table cellspacing=4 cellpadding=3 border=0>
...
</table>
</body>
</html>
"
On the other hand, that kind of html file is very popular and
accetable for most browsers now.
So my question is is there a way to work around.
CJ
|