Mechanize question
From: Charlie (cji_work_at_yahoo.com)
Date: 11/09/04
- Previous message: Amer Neely: "Local install of modules - no root; no telnet"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 8 Nov 2004 21:57:48 -0800
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
- Previous message: Amer Neely: "Local install of modules - no root; no telnet"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|