Superfox il Volpone has asked for the wisdom of the Perl Monks concerning the following question:
suppose I have a reference as :my $_parse_element_configuration = sub{ ... }; my $_parse_element_machines = sub{ ... };
how do I invoke the anonymous sub? I am stuck with:my $handler = "_parse_element_configuration";
$self->${$handler}($element); # Use of uninitialized value in method l +ookup at Configuration.pm line 59.
|
|---|