perl-unicode

Re: bytes pragma problems

2007-04-16 03:29:17
I don't think that anyone ever replied to this.

On Tue, Apr 19, 2005 at 11:51:36PM -0500, Ed Summers wrote:
Has anyone noticed that a call to bytes::substr() sends perl into a 
seemingly infinite loop
under v5.8.1-RC3 built for darwin-thread-multi-2level?

      use bytes;
      print bytes::substr( "abc", 0, 1 );

This appears to have been solved by 5.8.1 release.

I also noticed that a call to a non-existent bytes subroutine will 
cause an infinite loop under v5.8.2 built for i686-linux.

      use bytes;
      print bytes::twtowtdi()

Were these problems resolved in later releases of Perl?

This appears to have been solved by 5.8.7

Nicholas Clark

<Prev in Thread] Current Thread [Next in Thread>