Bug 831679 - perl-5.16.0: tr/// multiple transliteration bug
Summary: perl-5.16.0: tr/// multiple transliteration bug
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Marcela Mašláňová
QA Contact: Fedora Extras Quality Assurance
URL: https://rt.perl.org/rt3//Public/Bug/D...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-13 14:46 UTC by Petr Pisar
Modified: 2012-08-10 09:06 UTC (History)
11 users (show)

Fixed In Version: perl-5.16.1-228.fc19
Clone Of:
Environment:
Last Closed: 2012-08-10 09:06:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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///.


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