Help for this page
my %dispatch_table = ( some_name_one => \&do_something, some_name_two +=> \&do_something_else ); ($dispatch_table{"$some_name"} || sub { print "no command found\n" })- +>($my_args,@into_sub);
# the code is loaded into $code from a DB in my case # and it loops around the sub below to load all plugins. ... print "[load_plugins] Plugin $name loaded successfully.\n"; }