Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2001 06:40:04 -0700 (PDT)
From:      Jun Kuriyama <kuriyama@imgsrc.co.jp>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/28378: p5-Net-IRC-0.70_1  eats irc text with colons in them
Message-ID:  <200106261340.f5QDe4q19696@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/28378; it has been noted by GNATS.

From: Jun Kuriyama <kuriyama@imgsrc.co.jp>
To: "Asimov" <asimov@owirc.com>
Cc: <freebsd-gnats-submit@FreeBSD.ORG>
Subject: Re: ports/28378: p5-Net-IRC-0.70_1  eats irc text with colons in them
Date: Tue, 26 Jun 2001 22:37:38 +0900

 At Tue, 26 Jun 2001 09:31:46 -0400,
 Asimov wrote:
 > ok, that seems to have solved the text parsing problem... but i'm still
 > getting some odd warnings
 > 
 > [  214] !WARN! PERL: Use of uninitialized value at
 > /usr/local/lib/perl5/site_perl/5.005/Net/IRC/Connection.pm line 1105.
 
 Could you test with new patch and show me message?
 
 
 --- Connection.pm.orig	Tue May 30 07:12:02 2000
 +++ Connection.pm	Tue Jun 26 22:36:10 2001
 @@ -1101,7 +1101,8 @@
  		 /x)                      # That ought to do it for now...
  	{
  	    $line = substr $line, 1 if $line =~ /^:/;
 -	    ($from, $line) = split ":", $line, 2;
 +	    ($from, $line) = $line =~ m/^(\S+\s.*?):(.*)$/;
 +print STDERR "kuriyama: $from\n";
  	    ($from, $type, @stuff) = split /\s+/, $from;
  	    $type = lc $type;
  	    
 
 -- 
 Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
              <kuriyama@FreeBSD.org> // FreeBSD Project

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106261340.f5QDe4q19696>