[Bug 1113638] New: Can't call method "filter" on unblessed reference

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

 



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

            Bug ID: 1113638
           Summary: Can't call method "filter" on unblessed reference
           Product: Fedora
           Version: 20
         Component: perl-Filter
          Assignee: ppisar@xxxxxxxxxx
          Reporter: sreekumar.r84@xxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: mmaslano@xxxxxxxxxx,
                    perl-devel@xxxxxxxxxxxxxxxxxxxxxxx, ppisar@xxxxxxxxxx



Description of problem:
The latest release of perl-filter (1:1.50-1.fc20) from updates-testing seems to
be breaking Switch. I am getting an error on executing or on a Deparse of a
perl script on the line after "use Switch;"
Downgrading to version perl-Filter.x86_64 1:1.49-5.fc20 fixed the issue


Version-Release number of selected component (if applicable):
perl-Filter-1.50-1.fc20.x86_64


How reproducible:
Always


Steps to Reproduce:
1. Run the perl script with below contents

use strict;
use Switch;

my $var = "test";

switch ($var) {
    case "test" {
        print "test\n";
    }
    else {
        print "not test\n";
    }
}

Actual results:
Prints error message
Can't call method "filter" on unblessed reference at filtertest.pl line 4.

Expected results:
Print test

Additional info:

-- 
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=iRnhr3b3Ig&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