You can just use any existing package name. (I say main:: instead of main-> in case there is a &main sub.)$sub = "X::foo"; $cr = main::->can($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.
In reply to Re: Re: How to convert a symbolic reference to a hard reference
by ysth
in thread How to convert a symbolic reference to a hard reference
by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |