in reply to possible to determine the name of a sub from a sub reference?
And note that if you have the name of a subroutine, you don't need 'eval' to call it.
works, provided you turn off strict 'refs' when you call the subroutine.my $name_of_sub = "foo"; $name_of_sub->(...arguments...);
|
|---|