quick and dirty Netsaint plugins with Perl question

"Threet, Robert A" <[email protected]>
Newsgroups gmane.network.netsaint.user
Message-ID <[email protected]>
I've never written a plugin...
I have a service I want to check that uses a POST via HTTPS.  Can I simply use Perl's LWP to submit the request and grep the response for the correct response?  Like 

if ($response =~ m/okay/) {
         print "0";   # for return 0
} else {
         print "-1";  # for return -1
}


-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.