Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Anyone familiar with Perl and Dos commands?

Status
Not open for further replies.

m4trix

Vendor
Jul 31, 2002
84
CA
Is there any way for perl to pick up an in coming messenger message?

I wrote a script that will send a "net send" message at a time that I enter, so I can leave and still have the computer send the message at that time. But I want (if possible) to be able to auto-reply if the user I'm sending the message to replies with one of his own.

So essentially, is there any way for perl to determine if the computer has recieved a net send message?

thanks
 
Or does anyone know how I could go about finding out how to do this myself?
 
You could look into Net::ICQ, or any number Net modules. I haven't seen it explicitly, but I'm looking for a SMS interface, and came across something similar on CPAN last night

HTH
;P
 
If you're not able to use Net::ICQ (because, maybe, you can't get to the Internet) you could investigate sockets a little; the examples in the documentation (perlipc) should get you started I think. Mike

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884

It's like this; even samurai have teddy bears, and even teddy bears get drunk.
 
nope, couldn't get very far with the Net::ICQ module.. I'll look into the sockets a bit. we'll see how it works out
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top