use aXML::Warnings; my $plugins = { foo => sub { "what a foo" }, b => sub { "I pity the foo" }, inc => sub { "wanna game of foos-ball?" }, d => sub { "I've run out of foo jokes" } };