Hi Folks,

 

I have query related to the yahoo messenger module which have been installed on my machine.

System configuration:

-           Windows XP

-           Active perl 5.8.8

-           Module Net-YMSG-1.2 from www.cpan.org

      -     nmake

  

Following command have been execute successfully :

Perl Makefile.PL

Nmake

Namke installed

 

When I ran the \Net-ymasg\example\yahoo.pl using

-perl yahoo.pl

 

I  got error message "Unknwon error" it was pointing to the line 315 in ymsg.pm

---------------------------snippet---------------------------

 

sub get_connection

{

            my $self = shift;

            return $self->handle if $self->handle;

 

            my $server = new IO::Socket::INET (

                        PeerAddr => $self->{hostname},

                        PeerPort => $self->get_port,

                        Proto    => 'tcp',

                        Timeout  => 30,

            ) or die $!;

            $server->autoflush(1);

            return    $self->handle($server);

}

 

 

It was exactly pointing to the underline line . I have tried a lot to figure it out but I couldn't.

I will very thankful if any body solved my problem.

Thanks,

vidhut

 

 

 

 

 

 

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to