in reply to Re: Joining Module reference with its method named as string.
in thread Joining Module reference with its method named as string.

To be on the safe side, probably using the BLOCK form of eval is the best way to go
Or better yet, just use can e.g
sub foo { } my($class, $invoke) = qw/ main foo /; print "$class can $invoke" if UNIVERSAL::can($class, $invoke); __output__ yup

HTH

_________
broquaint