Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the WWW-Mechanize CPAN distribution.

Report information
The Basics
Id: 15773
Status: rejected
Priority: 0/
Queue: WWW-Mechanize

Owner: Nobody in particular
Requestors: JHatt [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Mechanize cannot find the form in the attached page ...
Date: Mon, 14 Nov 2005 09:49:57 -0500
From: "Hatt, James" <JHatt [...]>
To: <bug-WWW-Mechanize [...]>
Download mech1
application/octet-stream 699b

Message body not shown because it is not plain text.

Download mywebpage.txt
text/plain 951b

Message body is not shown because sender requested not to inline it.

Download image001.jpg
image/jpeg 4.9k
Download image002.gif
image/gif 1.2k
Download (untitled) / with headers
text/plain 453b
Sports Fans! I am attempting to use a Perl program to log into the attached web page, but WWW::Mechanize cannot find the form contained therein. I've attached my Perl code so you can get a few laughs at the expense of this amateur. I'm sure I'm doing something wrong, can you tell me what it is? ---jjh James Jeffery Hatt DRS Laurel Technologies 245 Airport Road, Johnstown, PA 15904 814 534-2048
Date: Mon, 14 Nov 2005 10:02:38 -0500
From: Mark Stosberg <mark [...]>
To: "Hatt, James via RT" <bug-WWW-Mechanize [...]>
Subject: Re: [cpan #15773] Mechanize cannot find the form in the attached page ...
Download (untitled) / with headers
text/plain 677b
On Mon, Nov 14, 2005 at 09:50:09AM -0500, Hatt, James via RT wrote: Show quoted text
> > Re: [cpan #15773] Mechanize cannot find the form in the attached page ...
I'm not surprised. It's horribly invalid HTML. I would rather see the HTML patched to approach standards compliance than to have Mech patched to deal with the mess. I realize we can't fix all the HTML in the wild that we would want to use with Mech, but you could at least send a bug report to /them/, explaining why they might want to improve the HTML. Heck, you could even send them patch of some valid HTML. Here's some bait to use. Let us know how it goes. Mark

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to