-
Lurking AdMiN
Anyone here know Perl Script at all?
I am trying to get an IRC bot to run through Perl5 on an OpenBSD box. The bot does have a configuration file to make it really simple to run.. but for some reason it cannot execute the NET::IRC scripts in the Perl5 directory to connect to the IRC server specified.
Right now its version 0.73 of NET::IRC for Perl5. This is the error I get when the bot tries to connect...
-----
Creating connection to IRC server...
Can't connect to irc3.p2pchat.net:6667! at /usr/local/libdata/perl5/site_perl/Net/IRC.pm line 192
------
Anyone know of how to get past this at all? Or is there anyone with any ideas?
Thanks!
Vote For Us! -- It will get you hot chicks. No really It will!
----
www.myTego.com -
Give your devices a face! Dont be a conformist!
-
Lurking AdMiN
This is the area of code in the IRC.pm file that includes line 192.
# Creates and returns a new Connection object.
# Any args here get passed to Connection->connect().
sub newconn {
my $self = shift;
my $conn = Net::IRC::Connection->new($self, @_);
return if $conn->error;
return $conn;
}
Line 192 is: my $conn = Net::IRC::Connection->new($self, @_);
Vote For Us! -- It will get you hot chicks. No really It will!
----
www.myTego.com -
Give your devices a face! Dont be a conformist!
-
inspired to dream
ok this happens to me with php script alot
point your text editor and that file and go to line 192
copy and paste the text here then so i might be able to help
just do 3 lines before and after
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules