http://qs321.pair.com?node_id=654158


in reply to subroutine refs

You can safely create a reference to a subroutine by name and the execute that e.g
use strict; sub dynamic { print "Mmm, dynamic.\n"; } my $name = 'dynamic'; my $subref = \&$name; &$subref();
HTH

_________
broquaint