[Bug 1048324] New: Reference to perl (5.18.1-288.fc20.x86_64) utf8 string is Invalid Argument to open

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1048324

            Bug ID: 1048324
           Summary: Reference to perl (5.18.1-288.fc20.x86_64) utf8 string
                    is Invalid Argument to open
           Product: Fedora
           Version: 20
         Component: perl
          Severity: medium
          Assignee: jplesnik@xxxxxxxxxx
          Reporter: rossetyler@xxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: cweyl@xxxxxxxxxxxxxxx, iarnell@xxxxxxxxx,
                    jplesnik@xxxxxxxxxx, kasal@xxxxxx,
                    perl-devel@xxxxxxxxxxxxxxxxxxxxxxx, ppisar@xxxxxxxxxx,
                    psabata@xxxxxxxxxx, rc040203@xxxxxxxxxx,
                    tcallawa@xxxxxxxxxx



Created attachment 845034
  --> https://bugzilla.redhat.com/attachment.cgi?id=845034&action=edit
Script that demonstrates the bug.

Description of problem:
#!/usr/bin/perl
my $string = qq{\x{2019}};
open(STRING , '<', \$string) or die "$!: string";

Version-Release number of selected component (if applicable):
perl-5.18.1-288.fc20.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Run the above perl script (say, bug.pl)

Actual results:
Invalid argument: string at ./bug.pl line 3.

Expected results:
<null>

Additional info:
http://perldoc.perl.org/perlfaq5.html#How-can-I-open-a-filehandle-to-a-string?
Used to work!
Native 8 bit encodings continue to work.
Use old IO::Scalar method as a workaround.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=GOM2ciUKml&a=cc_unsubscribe
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux