Bug 1113638 - Can't call method "filter" on unblessed reference
Summary: Can't call method "filter" on unblessed reference
Keywords:
Status: CLOSED DUPLICATE of bug 1106210
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Filter
Version: 20
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-26 14:22 UTC by Sreekumar R
Modified: 2014-06-26 14:34 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-26 14:34:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Sreekumar R 2014-06-26 14:22:29 UTC
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:

Comment 1 Petr Pisar 2014-06-26 14:34:32 UTC
This is addressed in bug #1106210.

(I thought reporting the "perl -d" produces "Source filters apply only to byte streams" as a new bug.)

*** This bug has been marked as a duplicate of bug 1106210 ***


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