in reply to Joining Module reference with its method named as string.
$invoke =~ s/$type\:\:/\$class\-\>/g; [download]
my $val; my $statement = "\$val = $invoke"; warn "EVAL:\n $statement\n" if (qw/DEBUG/); eval $statement; [download]