Dear monks,
I am facing some problems while trying to use the Net::IRC module. I have the folowing code
#!/usr/bin/perl
#
use Net::IRC;
#
# Create the IRC and Connection objects
#
my $irc = new Net::IRC;
print "Creating connection to IRC server...\n";
my $conn = $irc->newconn(Server => 'amsterdam.nl.eu.undernet.org',
Port => 6667,
Nick => 'PerlBot',
Ircname => 'I Only Answer to NeoFuture.',
Username => 'Neo')
or die "Can't connect to IRC server $!.\n";
$irc->start;
When I run this code it fails with can't connect to amstedam wrong file descriptor. What does that mean and how do I solve it? I intalled Net::IRC from CPAN shell and after that I also did a manual installation and bot don't complain.
Thanks Olly
Imagination is more important then knowledge -Einstein-