http://qs321.pair.com?node_id=1126218


in reply to How to fill textarea of a webpage fetched using WWW::Mechanize::Firefox ?

What about simple XPath (if you have only one textarea):
my $textarea = $mech->xpath('//textarea', one => 1); $textarea->value("somevalue");