invoke a subroutine indirectly via glob references
From Rainer Weikusat@21:1/5 to All on Tue Jan 4 16:17:37 2022
Assuming that an array element $l[0] holds a reference to a glob, the subroutine currently associated with this glob can be invoked via
*{$l[0]}->(1, 2, 3)
with an explicit argument list or as
&{*{$l[0]}}
with the current @_.
The idea behind this is that the subroutine associated with the glob
might change in future and that the expression should then invoke the
'current' function and not the old one.