shmem has asked for the wisdom of the Perl Monks concerning the following question:
There's a facility to resolve lexical function/method lookup via %^H at runtime - pragma. Subroutine dispatching can be handled e.g. via inspection of %^H inside an AUTOLOAD block. Is there such a way for lookup of other typeglob entries? If not, shouldn't that be implemented, if only for the sake of orthogonality?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: pragma and typeglobs
by stevieb (Canon) on Aug 08, 2017 at 21:46 UTC | |
by shmem (Chancellor) on Aug 09, 2017 at 07:59 UTC |