Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

12 views
Skip to first unread message

Andreas J. Koenig

unread,
May 31, 2007, 11:56:26 PM5/31/07
to amic...@cpan.org, The Perl5 Porters Mailing List
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

I hope this helps you to understand and fix the problem,

Regards,
--
andreas

Nicholas Clark

unread,
Jun 1, 2007, 4:44:49 AM6/1/07
to Andreas J. Koenig, amic...@cpan.org, The Perl5 Porters Mailing List

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){

0 new messages