in reply to Re: How to convert a symbolic reference to a hard reference
in thread How to convert a symbolic reference to a hard reference

Very nice, thanks. You don't even have to split the package off:
$sub = "X::foo"; $cr = main::->can($sub);
You can just use any existing package name. (I say main:: instead of main-> in case there is a &main sub.)

If you are downvoting this for other than lack of interest, thanks for sending me a message or reply to let me know why so I can do better (or just stay quiet) next time.