From 3a45f0c9adf87cbb571e7099a02bd90a425be65e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 25 Feb 2011 12:48:27 +0100 Subject: [PATCH] Flash error: Carp muss sich importieren bevor carp funktioniert. --- SL/Helper/Flash.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/SL/Helper/Flash.pm b/SL/Helper/Flash.pm index 2bbff75b1..1ed6562b2 100644 --- a/SL/Helper/Flash.pm +++ b/SL/Helper/Flash.pm @@ -48,6 +48,7 @@ sub _check_category { return $valid_categories{$c} || do { require Carp; + Carp->import; croak("invalid category '$c' for flash"); }; } -- 2.20.1