B::Hooks::EndOfScope eats exceptions inside the on_scope_end block. Nyomnyomnyom...
authorTomas Doran <bobtfish@bobtfish.net>
Wed, 13 May 2009 18:57:45 +0000 (18:57 +0000)
committerTomas Doran <bobtfish@bobtfish.net>
Wed, 13 May 2009 18:57:45 +0000 (18:57 +0000)
commit81ef9afd4f446447d48b5844045b388f6d304d2b
treec975ef750705acc19f8b1dc810e4e671332468a3
parentbca6bdad36357e75b0efdcd92bc25f32c07182cd
B::Hooks::EndOfScope eats exceptions inside the on_scope_end block. Nyomnyomnyom. Ergo we were never seeing the die. A warning is good enough for now. Also add some more bleeding tests to prove that you really are not immutable till end of package
lib/Catalyst.pm
t/lib/TestAppBadlyImmutable.pm [new file with mode: 0644]
t/plugin_new_method_backcompat.t