Net::IRC Woes

Davidhope69_at_hotmail.com
Date: 02/17/05

  • Next message: Michael Gillis: "Install Picks Wrong Dir for Include Files"
    Date: 17 Feb 2005 11:02:59 -0800
    
    

    Hello all,

    I've got a quick question about the Net:IRC module for perl, for some
    strange reason it will never connect to a server (even when using the
    provided examples), a message is echoed out and it continues to run but
    to no avail:

    -----[START]-----
    Can't connect to irz.blitzed.org:6667! at
    /usr/lib/perl5/vendor_perl/5.8.5/Net/IRC.pm line 203
    -----[END]-----

    I'm really starting to run out of ideas here, I've been using php for a
    fair while and figured I'd take a quick peeek at what modules perl had
    to offer so as to replace php as my langauge of choice for CLI stuff
    anyway, here's the code to the most basic net:irc example which I can't
    get to work:

    -----[START]-----
    #!/usr/bin/perl
    use Net::IRC;
    $irc = new Net::IRC;
    $conn = $irc->newconn (
                                    Nick => 'DaveTEST',
                                    Server => '192.168.1.9'
                                    );
    $irc->start;
    -----[END]-----

    I've tried the above with perl 5.8.2 and 5.8.5, getting the same error
    each time :/ - Any suggestions would be greatley appreciated.


  • Next message: Michael Gillis: "Install Picks Wrong Dir for Include Files"

    Relevant Pages

    • Re: What are the differences between Perl and PHP when handling with Web pages
      ... What are the differences between Perl and PHP? ... anyway for the sake of good programming practice. ... I end up using PHP more for web development than PHP. ...
      (perl.beginners)
    • Re: redirect / new website how to redirect old (google) links to new site ?
      ... we have a discussion forum written in Perl. ... We have other packages written in PHP. ... It may not be as good as Apache, but it still is a perfectly good webserver. ... People have been working on them, but they're still not ready for a serious server. ...
      (comp.lang.php)
    • Re: Me.
      ... >> Costing the net hundreds if not thousands of dollars, Richard Robinson ... Is Perl becoming a vanishing thing, ... PHP may be slightly easier for the ... There are exceptions, I've got a Perl SOAP server just because, ...
      (uk.rec.sheds)
    • Re: Can a Perl Programmer Pick up PHP quickly?
      ... PHP is not easier compared to Perl. ... a language with fewer features is going to be easier to ... You can't call documentation guessed after the source not good ...
      (comp.lang.perl.misc)
    • Re: Perl vs PHP
      ... > W> Perhaps it is not possible to get a decent answer in a perl ... > W> newsgroup. ... the advantages of PHP vanish. ... > access to server internals, and an error can hose all the server ...
      (comp.lang.perl.misc)