Package: perl
Version: 5.8.7-7
Severity: normal

The script

#!/usr/bin/env perl
use strict;
use Encode;
my $it = "string";
print "[$it]\n";
print "[".decode("iso-8859-1", $it, 1)."]\n";
print "[$it]\n";

produces the following output:

[string]
[string]
[]

This is a regression. In the past, this was working.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (900, 'stable'), (200, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-20050829
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)

Versions of packages perl depends on:
ii  libc6                         2.3.5-8    GNU C Library: Shared libraries an
ii  libdb4.2                      4.2.52-18  Berkeley v4.2 Database Libraries [
ii  libgdbm3                      1.8.3-2    GNU dbm database routines (runtime
ii  perl-base                     5.8.7-7    The Pathologically Eclectic Rubbis
ii  perl-modules                  5.8.7-7    Core Perl modules

Versions of packages perl recommends:
ii  perl-doc                      5.8.7-7    Perl documentation

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to