Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^3: Send a String to another URL

by tospo (Hermit)
on May 12, 2011 at 15:49 UTC ( #904448=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Send a String to another URL
in thread Send a String to another URL

ah, ok. In that case you should start with the CGI docs here. As you can see, you print the header like this:

use CGI; my $q = CGI->new; print $q->header(); ### generate and print more stuff for the web page here
As suggested previously, you can use LWP::Simple to send your stuff and capture the response from the remote server, which might tell you if the message has been sent successfully if that service is well implemented. If you do get a "receipt" then it will probably be in XML format and you will then want to use a module that helps you with parsing the XML, something like XML::Simple (there are many options).

Comment on Re^3: Send a String to another URL
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://904448]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2015-10-06 18:40 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (158 votes), past polls