projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
6054110
)
Enable overloading fallback for Catalyst::Exception.
Florian Ragwitz [Fri, 26 Jun 2009 15:27:30 +0000 (15:27 +0000)]
lib/Catalyst/Exception.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/Exception.pm
b/lib/Catalyst/Exception.pm
index
0ee0fa0
..
b5b5bc3
100644
(file)
--- a/
lib/Catalyst/Exception.pm
+++ b/
lib/Catalyst/Exception.pm
@@
-39,7
+39,9
@@
has message => (
isa => 'Str',
);
-use overload q{""} => \&as_string;
+use overload
+ q{""} => \&as_string,
+ fallback => 1;
sub as_string {
my ($self) = @_;