Help for this page
Can't use string ("") as a subroutine ref while "strict refs"
my $var1; my $var2; ... ($regex => \&get_device); my $result = $functions{$var1}->($var2);