From 2738176804c36766e11e68ed558920bb096b454c Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 30 Dec 2010 16:31:59 +0100 Subject: [PATCH] Controller-Namensraum nur ohne "strict refs" durchsuchbar --- SL/Controller/Base.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/SL/Controller/Base.pm b/SL/Controller/Base.pm index 982c379ab..0c8147015 100644 --- a/SL/Controller/Base.pm +++ b/SL/Controller/Base.pm @@ -98,6 +98,7 @@ sub _controller_name { sub _dispatch { my $self = shift; + no strict 'refs'; my @actions = grep { m/^action_/ } keys %{ ref($self) . "::" }; my $action = first { $::form->{$_} } @actions; -- 2.20.1