develooper Front page | perl.perl5.porters | Postings from June 2007

Re: BBC(Bleadperl Breaks CPAN) Today: Unicode::Lite

Thread Previous
From:
Nicholas Clark
Date:
June 1, 2007 01:47
Subject:
Re: BBC(Bleadperl Breaks CPAN) Today: Unicode::Lite
Message ID:
20070601084449.GE18077@plum.flirble.org
On Fri, Jun 01, 2007 at 05:56:26AM +0200, Andreas J. Koenig wrote:
> Albert,
> 
> your module Unicode::Lite on CPAN has issues with bleadperl (which is
> a nickname for the current development track leading to 5.10). I've
> traced the problem back to patch 24660. You can review bleadperl
> patches at http://public.activestate.com/cgi-bin/perlbrowse
> 
> The summary of the patch says:
> 
>     Change 24660 by nicholas@ship-in-a-bottle on 2005/06/01 14:33:14
> 
> 	Store the xhv_aux structure after the main array.
> 	This reduces the size of HV bodies from 24 to 20 bytes on a 32 bit
> 	build. It has the side effect of defined %symbol_table:: now always
> 	being true. defined %hash is already deprecated.
> 
> Since that patch your test suite fails as can be seen for example in
> this test report:
> 
>     http://www.nntp.perl.org/group/perl.cpan.testers/2007/05/msg484349.html

The appended patch fixes it.

Nicholas Clark

--- Lite.pm.orig	Thu Aug 29 17:15:50 2002
+++ Lite.pm	Fri Jun  1 09:43:24 2007
@@ -32,7 +32,7 @@ sub convertor($$;$$)
 
 	return $CONVERT{$src}{$dst}{$mod}{$chr} if exists
 		   $CONVERT{$src}{$dst}{$mod}{$chr};
-	require Unicode::String unless defined %Unicode::String::;
+	require Unicode::String;
 
 	my  ($SRC, $DST) = ($src, $dst);
 	for ($SRC, $DST){

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About