Hi All,
The only was I could find to do this was:-
my %rmhash = $self->run_modes();
my $subname = $rmhash{$runmode};
then looking up the key in the hash.
Seems a bit of a waste to return the whole hash.
$self->run_modes( $runmode ) gives and error rather than returning the
sub name.
Is there a better way to do it?
Lyle