in reply to Is it possible using LWP module
You might want to have a look at WWW::Mechanize which makes accessing HTML forms from within scipts easier. (If I understand your question correctly, that is.)
Hope this helps, -gjb-