Thanks alot, Corion.
I use WWW::Mechanize, it makes my life much easy. But I have a problem here:
In a page responsed from server, there is a form in which some fields and two buttons are defined like these:
---------------------------
<FORM name="frmSaveUser" action='SaveUser" method="post">
</FORM>
---------------
I fill fields and call
$browser->click_button(number => 1);
I got the error:
"can't call method "click" on an undefined value at /usr/lib/perl5/site_perl/5.8.0/WWW/Mechanize.pm line 722"
On the button defined above, there is a JavaScript funcation defined to check the validation of filled values.
Do I do something wrong? or what should I do to make it work?
Thanks again
Quency