- or download this
my %actions = (
'login' => sub {
...
},
...
);
- or download this
Use of uninitialized value in subroutine entry at ...
Can't use string ("") as a subroutine ref while "strict refs" in use a
+t .....
- or download this
$query = 'default' unless exists $actions{ $query };