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

bugzilla at redhat.com bugzilla at redhat.com
Thu Jun 26 14:22:29 UTC 2014


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 at redhat.com
          Reporter: sreekumar.r84 at live.com
        QA Contact: extras-qa at fedoraproject.org
                CC: mmaslano at redhat.com,
                    perl-devel at lists.fedoraproject.org, ppisar at redhat.com



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



More information about the perl-devel mailing list