Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: WWW::Mechanize Unknown input type 'search'

by zer (Deacon)
on Nov 08, 2007 at 05:18 UTC ( [id://649652]=note: print w/replies, xml ) Need Help??


in reply to WWW::Mechanize Unknown input type 'search'

Ok,
Thanks to tye getting me in the right direction. The page being called had a:
<input id="q" class="search inputsearch inputtext" name="q" type="sear +ch" ...

This caused the HTML::Form module to have problems as "The following type names are used: "text", "password", "hidden", "textarea", "file", "image", "submit", "radio", "checkbox" and "option"." Which is the xhtml standard.

With a deeper look this doesn't appear to be a problem with HTML::Form though. Probably something syntactic with undefined values in my own code.

Replies are listed 'Best First'.
Re^2: WWW::Mechanize Unknown input type 'search'
by Archon810 (Initiate) on Jun 20, 2008 at 20:03 UTC
    type="search" is not an HTML standard. It seems to be some sort of custom WebKit property. I've spoken to Andy Lester, the writer of WWW::Mech, and he said the only way to prevent warnings is to actually disable them with local $^W=0 or a more flexible reassigning of $SIG{__WARN__} to filter your warnings.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://649652]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-19 03:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found