Bug 831679

Summary: perl-5.16.0: tr/// multiple transliteration bug
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perlAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cweyl, iarnell, jplesnik, kasal, lkundrak, mmaslano, perl-devel, ppisar, psabata, rc040203, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://rt.perl.org/rt3//Public/Bug/Display.html?id=113584
Whiteboard:
Fixed In Version: perl-5.16.1-228.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-10 09:06:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Pisar 2012-06-13 14:46:51 UTC
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";


reports:

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>
Date:   Mon Jun 11 09:56:56 2012 -0600

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