Is it possible to symbolically reference a Perl CORE module?
- by Blaise Roth
I know I could easily do something like
sub sin {
sin($_[0]);
}
and symbolically reference that for every function I need to symb ref, but I'd just like to know if there's a way to do something like
{$foo}(123);
vs.
&{$foo}(123);
which works, but not for core functions.
Thanks.