Skip Menu |

This queue is for tickets about the Encode-IMAPUTF7 CPAN distribution.

Report information
The Basics
Id: 20741
Status: rejected
Priority: 0/
Queue: Encode-IMAPUTF7

People
Owner: Nobody in particular
Requestors: vir [...] otvt.ru
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Encode::IMAPUTF7 - Странный глюк
Date: Fri, 28 Jul 2006 16:40:00 +0400
To: bug-Encode-IMAPUTF7 [...] rt.cpan.org
From: "Vasily i. Redkin" <vir [...] otvt.ru>
Выглядит следующим образом: ============ $ perl 0-test.t 1..1 Modification of a read-only value attempted at Encode/IMAPUTF7.pm line 39. # Looks like your test died before it could output anything. ============ Версии: Perl v5.8.4 Encode 2.18 (последняя с cpan) В качестве временного решения использую следующее исправление: ============ --- /home/vir/.cpan/build/Encode-IMAPUTF7-1.00/blib/lib/Encode/IMAPUTF7.pm 2006-07-28 16:32:03.660464964 +0400 +++ /home/vir/.cpan/build/Encode-IMAPUTF7-1.00/blib/lib/Encode/IMAPUTF7.pm-new 2006-07-28 16:31:49.567303656 +0400 @@ -36,7 +36,8 @@ if ($1 eq "&"){ $bytes .= "&-"; }else{ - my $base64 = encode_base64($e_utf16->encode($1), ''); + my $t=$1; + my $base64 = encode_base64($e_utf16->encode($t), ''); $base64 =~ s/=+$//; $base64 =~ s/\//,/g; $bytes .= "&$base64-"; ============
From: SAVA [...] cpan.org
On Fri Jul 28 08:40:24 2006, vir@otvt.ru wrote: Show quoted text
> Выглядит следующим образом: > ============ > $ perl 0-test.t 1..1 > Modification of a read-only value attempted at Encode/IMAPUTF7.pm line 39. > # Looks like your test died before it could output anything. > ============ > > Версии: > Perl v5.8.4 > Encode 2.18 (последняя с cpan)
Strange, I can't reproduce it with Perl 5.8.8 and Encode 2.18
Subject: Re: [rt.cpan.org #20741] Encode::IMAPUTF7
Date: Mon, 31 Jul 2006 14:50:11 +0400
To: bug-Encode-IMAPUTF7 [...] rt.cpan.org
From: "Vasily i. Redkin" <vir [...] otvt.ru>
via RT wrote: Show quoted text
>>Выглядит следующим образом: >>============ >>$ perl 0-test.t 1..1 >>Modification of a read-only value attempted at Encode/IMAPUTF7.pm line 39. >># Looks like your test died before it could output anything. >>============ >> >>Версии: >>Perl v5.8.4 >>Encode 2.18 (последняя с cpan) >> >>
>Strange, I can't reproduce it with Perl 5.8.8 and Encode 2.18 > >
Hmmm... Really. On Debian testing with perl 5.8.8 test passes, but on debian stable (perl 5.8.4) that error occures. I have tested that on 3 more machines. There are a lot of Debian stable (and other with perl 5.8.4) around the world. May be, it is possible to incorporate some workaround for this issue? (Sorry for bad english)
This is a Debian issue, not Encode::IMAPUTF7 one.