Perl: the Markov chain saw | |
PerlMonks |
Net::IRC does not connectby larsen (Parson) |
on May 02, 2001 at 23:34 UTC ( [id://77481]=perlquestion: print w/replies, xml ) | Need Help?? |
larsen has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to do some experiment with Net::IRC, but
I have major problems. First of all, look at the beginning of
the program I wrote:
...omissis... It's very similar to the beginning of irctest, the script that is provided with Net::IRC package. Despite of this fact, it does not work. irctest neither. They both give to me an error message:
Can't connect to irc.tin.it:6667! at /usr/lib/perl5/site_perl/5.6.0/Net/IRC.pm line 192 So I tried to look into the code of the module. Line 192 of IRC.pm is the line that requests a new instance of Connection:
So I looked closer in the code... Here the code that fails (from Connection.pm): $self->port and $self->server are well defined, and $sock is created with the socket function, so it seems to me the problem is not in my code. Since I'm convinced that Net::IRC would work (I didn't have problem when I installed it from CPAN), I ask you if it may depend on my system configuration (I use RedHat Linux and Perl 5.6.0) and how could I solve the problem.
Back to
Seekers of Perl Wisdom
|
|