dba has asked for the wisdom of the Perl Monks concerning the following question:

Dear monks,
After my unsuccessful attempt to send IM to Yahoo Messenger from perl, Iam wondering if there are any monks who are able to send IM to (MSN/AIM/other) from a perl script.

Replies are listed 'Best First'.
Re: send message to IM from perl
by stvn (Monsignor) on Jun 25, 2004 at 15:07 UTC

    I have successfully used both Net::AIM and Net::Oscar in the past to create simple IM bots. One of those might do the trick.

Re: send message to IM from perl
by eric256 (Parson) on Jun 25, 2004 at 15:14 UTC

    I've used Net::AIM, Net::OSCAR, and the MSN module from oh and of course Jabber using Net::Jabber, which isn't well documented (at least last i checked) but if you follow the samples for any of the above you should be able to get it working.

    Eric Hodges
Re: send message to IM from perl
by gawatkins (Monsignor) on Jun 25, 2004 at 15:38 UTC

    Here is something else that might be causing your issue with Yahoo Messenger, Yahoo to Trillian: Talk to the hand. This also knocked our corporate Jabber connection to Yahoo due to the protocol change.

    Greg W
Re: send message to IM from perl
by castaway (Parson) on Jun 25, 2004 at 16:54 UTC

    I'm currently using Net::OSCAR (AIM/ICQ) and Net::MSN (which Ive already fiddled with some, as its kind of half-written), daily.


      Thank you Monks. I will use Net::AIM.
      - dba
        With requests about identifying IP address of a router and trying to use IM, you probably know that Iam trying to get somewhere.

        Just wanted to update monks that with your help, I completed my work.

        My problem: I need to know the dynamic IP address at my home router assigned by ISP.

        Solution: I don't have a webserver to log the IP address. I want to have it just when I want it. I finally have a working perl script which runs like a daemon on my home machine. It connects to AOL as user A and waits. When I login to AIM as user B from whereever Iam working/travelling and send IM to user A, I will receive my IP address as IM sent by user A
        Thanks again to all the monks.