in reply to Input 'foo' is readonly / WWW::Mechanize

Maybe those are hidden fields, which according to HTML::Form (used under the hood) start out readonly:

$bool = $input->readonly
$input->readonly( $bool )
This method is used to get/set the value of the readonly attribute. You are allowed to modify the value of readonly inputs, but setting the value will generate some noise when warnings are enabled. Hidden fields always start out readonly.

Update (in reply to your update):  have you tried turning off the readonly attribute to see if it helps?  (IIRC, $mech->forms returns HTML::Form objects, whose inputs method returns input objects, upon which you can then call the readonly method...)

Replies are listed 'Best First'.
Re^2: Input 'foo' is readonly / WWW::Mechanize
by talexb (Chancellor) on Jan 25, 2008 at 20:14 UTC

    Thanks, but I didn't want to go that route -- if I'm getting warnings from HTML::Form not to do stuff, I don't really want to force the issue. And I seem to have resolved the issue anyway (see Update 2, above). Thanks!

    Alex / talexb / Toronto

    "Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds