On Sun, Mar 19, 2000 at 07:22:13PM +0100, Alberto Maurizi wrote: > > Hi all, Debian people. > > I'm quite new to perl and, in particular to libwww-perl. > I fell on it because I was looking for some API to write > www clients to automatically fill forms. > > The problem I have is that I cannot get the same result from > the server as I obtain using a web browser. What happens is > that the result is the same document I use as HTTP::Request while, > if I use a web browser, clicking the submit button I get > a "second" document. > > Does anybody know/understand the problem? > Where to find source of information/examples? > Is there any better solution than libwww-perl? > (note that the problem persists using "lynx -post_data") > > Thanks in advance, > Alberto Maurizi
Please don't use a subject containing URGENT unless there is some reason for it. Is a nuclear reactor likely to go into meltdown if you don't solve this within 2 hours ? If you don't post the code in your program which you suspect to be wrong, you will receive little help other that general guidelines. Post the code. We are not psychics. (Well, I'm not, anyway :-) Documentation. If there is a Guiness Book of World Records award for quantity and quality of free documentation. I'm fairly sure the answer you need lies in the HTTP::Request or HTTP::Request::Common manpages. The latter has an example POSTing to a web server. Unless you are doing something advanced, (and in most instances if you are) libwww-perl will do everything you need. Better to solve the problem using the appropriate tool than embark on a different solution with an inferior one. -- Regards, Paul