Click here to get back home

Mechanize question

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Mechanize question Charlie 11-08-2004
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


Similar ThreadsPosted
Help with Mechanize January 15, 2007, 3:14 pm
WWW::Mechanize v 1.03_01 August 3, 2004, 9:57 pm
WWW:Mechanize with Menu September 9, 2006, 9:13 pm
WWW:Mechanize problem? January 29, 2007, 7:00 am
WWW::Mechanize "There is no Form named (...)" December 8, 2004, 5:58 am
win32::ie::mechanize PROBLEM December 10, 2004, 7:06 am
WWW::Mechanize and NTLM authentication December 21, 2004, 3:55 pm
www::mechanize $mech->select February 4, 2005, 5:01 pm
WWW::Mechanize cannot find the form. February 14, 2006, 9:04 pm
WWW::Mechanize single quotes around url January 12, 2007, 12:54 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap