olly has asked for the wisdom of the Perl Monks concerning the following question:
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.#!/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;
Thanks Olly
Imagination is more important then knowledge -Einstein-
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::IRC Wrong file descriptor
by tachyon (Chancellor) on Jul 31, 2001 at 15:57 UTC | |
|
Re: Net::IRC Wrong file descriptor
by olly (Scribe) on Jul 31, 2001 at 15:59 UTC | |
by tachyon (Chancellor) on Jul 31, 2001 at 16:58 UTC |