in reply to WWW::Mechanize process.

Yes, you are using WWW::Mechanize correctly. You can POST by doing this:
$mech->post("http://192.168.1.12/santhoshkumar/doc.php", { id => 1 });
Which I learned from WWW::Mechanize POST Method and LWP::UserAgent. Good luck! --Brock