I am feeling pretty stupid but despite perldoc FAQ, lwpcook (thanks Randal) and some HTML tips (thanks Connie) I still can not make it work.
>Let us know if "perldoc lwpcook" has enough of all that. If not, any >specific questions you bring up here will likely be answered. What I am trying to do is to fill a form in a home page (actually, the home page of cell phone company) to send a message to a cell phone. [No, I don't intend to do flood cell phone users with unsolicited messages. We are automating some procedures and it would be nice to get some feedback via short messages that announce the success or failures of script runs to the people in charge (even if they're outside the company). I tried both the code for GET and for POST requests. For example, my $url = url("http://www.ctbcnet.com.br/portal/webcel.html"); $url->query_form(msg => "Message.", min => "99777316", ...); $content = get($url) does not do anything sensible. And I don't know how to check for errors. Details: the form in the web page "http://www.ctbcnet.com.br/portal/webcel.html" has name "sms" and relevant fields "msg", "min", "pre1", "sender", "callback". I don't understand what query_form() does: it sets the field values and submit the form? Where it gets submitted? A serious problem for me is that I am not being able to make tests: the HTML form needs an 'action' attribute which specifies the file in the HTTP server which handles the form data. Actually I don't have an easy way to have a script or something like this in a HTTP server which can help me to understand what's going on. I would appreciate complete examples: Perl code, HTML with form, and some suggestion on a resource already in the web that can process a very simple request and send the results back to me (for example, my e-mail address). I know I am asking too much, but the disposition of the people in this list is so fantastic that I have dared to ask. Maybe someone knows how I can send SMS messages directly from Perl and I would love to know it too. And I would be still interested in knowing how to automate HTML forms. Thanks for your attention. Best regards, Adriano. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]