Closed p5pRT closed 17 years ago
$ perl -e "unpack 'Z*a'\, '123'" panic: sv_setpvn called with negative strlen at -e line 1.
there is already a similar (closed) ticket 21987\, which mentions a panic with an empty string.
On 02/03/07\, via RT willem \perlbug\-followup@​perl\.org wrote:
$ perl -e "unpack 'Z*a'\, '123'" panic: sv_setpvn called with negative strlen at -e line 1.
there is already a similar (closed) ticket 21987\, which mentions a panic with an empty string.
I don't reproduce this with bleadperl\, so it seems solved.
$ ./perl -Ilib -wE 'say unpack "Z*a"\, "123"' 123
The result looks correct to me.
The RT System itself - Status changed from 'new' to 'open'
On Sat\, Mar 03\, 2007 at 08:53:04AM +0100\, Rafael Garcia-Suarez wrote:
On 02/03/07\, via RT willem \perlbug\-followup@​perl\.org wrote:
$ perl -e "unpack 'Z*a'\, '123'" panic: sv_setpvn called with negative strlen at -e line 1.
there is already a similar (closed) ticket 21987\, which mentions a panic with an empty string.
I don't reproduce this with bleadperl\, so it seems solved.
$ ./perl -Ilib -wE 'say unpack "Z*a"\, "123"' 123
The result looks correct to me.
I get this on maint:
$ ./perl -Ilib -lwe "print unpack 'Z*a'\, '123'" 123
So I think that it will be solved in 5.8.9
Nicholas Clark
Rafael Garcia-Suarez via RT wrote:
On 02/03/07\, via RT willem \perlbug\-followup@​perl\.org wrote:
$ perl -e "unpack 'Z*a'\, '123'" panic: sv_setpvn called with negative strlen at -e line 1.
there is already a similar (closed) ticket 21987\, which mentions a panic with an empty string.
I don't reproduce this with bleadperl\, so it seems solved.
$ ./perl -Ilib -wE 'say unpack "Z*a"\, "123"' 123
The result looks correct to me.
I tried with more perl versions now:
panic with perl 5.8.7 and perl 5.8.8
in perl 5.005_03 and 5.6.1 it works fine
willem
@smpeters - Status changed from 'open' to 'resolved'
Migrated from rt.perl.org#41669 (status was 'resolved')
Searchable as RT41669$