Bug 831679 - perl-5.16.0: tr/// multiple transliteration bug
perl-5.16.0: tr/// multiple transliteration bug
Product: Fedora
Classification: Fedora
Component: perl (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Marcela Mašláňová
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-06-13 10:46 EDT by Petr Pisar
Modified: 2012-08-10 05:06 EDT (History)
11 users (show)

See Also:
Fixed In Version: perl-5.16.1-228.fc19
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-08-10 05:06:03 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Petr Pisar 2012-06-13 10:46:51 EDT
The tr///

Test case:

use strict;
use warnings;
use utf8;
use 5.010000;
use autodie;

binmode STDOUT, ':utf8';

my $x = "Perlα";
$x =~ tr/αα/βγ/;
say "$^V $x";


v5.16.0 Perlγ

but it should place a beta as in 5.14:

v5.14.2 Perlβ

This is fixed in upstream with commit: 

commit cb6d347447b642c0af2d1a378f437459e42ef4f1
Author: Karl Williamson <public@khwilliamson.com>
Date:   Mon Jun 11 09:56:56 2012 -0600

    PATCH: [perl #113584] tr/// multiple transliterations
    Commit 4de6d205aeab9ec737ca35ba4eb61f37cebefc55 failed to take into
    consideration tr///.

Note You need to log in before you can comment on or make changes to this bug.