Go Back   PC Tech Talk > PC Tech > Operating Systems and Software > Software

Reply
 
LinkBack Thread Tools Display Modes
Old 04-03-2003, 03:20 PM   #1 (permalink)
Lurking AdMiN
 
Cirga's Avatar
 
Join Date: Mar 2003
Location: In my own little world. Buts its ok. They know me here.
Posts: 3,245
Cirga is on a distinguished road
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!
Cirga is offline   Reply With Quote
Old 04-04-2003, 03:23 PM   #2 (permalink)
Lurking AdMiN
 
Cirga's Avatar
 
Join Date: Mar 2003
Location: In my own little world. Buts its ok. They know me here.
Posts: 3,245
Cirga is on a distinguished road
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!
Cirga is offline   Reply With Quote
Old 04-04-2003, 03:24 PM   #3 (permalink)
inspired to dream
 
fireydeviant's Avatar
 
Join Date: Mar 2003
Location: Raleigh, NC
Posts: 341
fireydeviant is on a distinguished road
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
__________________
fireydeviant is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:40 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
2001-2009 PCTechTalk