[Catalyst-commits] r10672 - Catalyst-Runtime/5.80/trunk/lib/Catalyst
rafl at dev.catalyst.perl.org
rafl at dev.catalyst.perl.org
Fri Jun 26 15:27:30 GMT 2009
Author: rafl
Date: 2009-06-26 15:27:30 +0000 (Fri, 26 Jun 2009)
New Revision: 10672
Modified:
Catalyst-Runtime/5.80/trunk/lib/Catalyst/Exception.pm
Log:
Enable overloading fallback for Catalyst::Exception.
Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/Exception.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/Exception.pm 2009-06-26 15:27:19 UTC (rev 10671)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/Exception.pm 2009-06-26 15:27:30 UTC (rev 10672)
@@ -39,7 +39,9 @@
isa => 'Str',
);
-use overload q{""} => \&as_string;
+use overload
+ q{""} => \&as_string,
+ fallback => 1;
sub as_string {
my ($self) = @_;
More information about the Catalyst-commits
mailing list