After upgrading to p5-Filter 1.50, use Switch causes error: Can't call method "filter" on unblessed reference I manually upgrade p5-Switch to 1.27 and apply patch from the following bug report to fix the problem. https://rt.cpan.org/Public/Bug/Display.html?id=96736
(In reply to Ting-Wei Lan from comment #0) > After upgrading to p5-Filter 1.50, use Switch causes error: > Can't call method "filter" on unblessed reference > > I manually upgrade p5-Switch to 1.27 and apply patch from the following bug > report to fix the problem. > https://rt.cpan.org/Public/Bug/Display.html?id=96736 Sorry, it should be p5-Switch 2.17.
I confirm that applying mentioned patch resolves the problem with unblessed reference.
A commit references this bug: Author: tobez Date: Fri Aug 1 12:51:24 UTC 2014 New revision: 363704 URL: http://svnweb.freebsd.org/changeset/ports/363704 Log: Update to 2.17 and apply a patch to fix interaction with modern Filter.pm. PR: 191730 Submitted by: Ting-Wei Lan Changes: head/lang/p5-Switch/Makefile head/lang/p5-Switch/distinfo head/lang/p5-Switch/files/ head/lang/p5-Switch/files/patch-Switch.pm