Help get this topic noticed by sharing it on Twitter, Facebook, or email.
I’m confused

connect to yahoo messenger

Dears,

I'm new in Perl programing and i want to connect to yahoo messenger via Perl application.
I installed the Net::YMSG-1.2 and my program is as below:
_____________________________
#!perl
use Net::YMSG;

my $yahoo = Net::YMSG->new(

id => 'yahooID',
password=>'password',
pre_login_url => 'http://msg.edit.yahoo.com/config/',
hostname => 'scs.msg.yahoo.com',
);

$yahoo->login or die "Can't login Yahoo!Messenger\n";

$yahoo->send('recipient_yahoo_ID)', 'test!');

_______________________

and the properties of my server and Perl version are:

Perl version: v5.8.8 built for i386-linux-thread-multi
Operating System: Linux serverName 2.6.18-8.1.8.el5 #1 SMP Tue Jul 10 06:50:22 EDT 2007 i686 i686 i386 GNU/Linux

when i run the program it doesn't show any error message but it does nothing and i force to use Ctrl+c to exit it.
I really don't know what should i do, can anyone guide me?
Reply