*::global_sub = \&global_sub;
and qualify your global subs with the empty package, on invocation:
$result = ::global_sub($args);
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
In reply to Re: How to declare globally visible subroutine like built-in ones ? Is it possible?
by shmem
in thread How to declare globally visible subroutine like built-in ones ? Is it possible?
by bdimych
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |