Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
in reply to Introspecting function signatures
Introspection of the initial opcodes in a sub is fragile, and might break in new releases of perl. It won't work at all prior to 5.26, which introduced the argcheck/argelem/argdefelem ops, and the structure of the optree changed in 5.30. And (assuming I get my perl core mojo back at some point), there will be large changes happening to signatures in the future, reflected by big changes in the opcodes. And further changes when optimisation is added.
Dave.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Introspecting function signatures
by szabgab (Priest) on Mar 05, 2021 at 21:29 UTC | |
by dave_the_m (Monsignor) on Mar 05, 2021 at 22:03 UTC | |
by szabgab (Priest) on Mar 06, 2021 at 13:57 UTC | |
by Corion (Patriarch) on Mar 06, 2021 at 14:51 UTC | |
by szabgab (Priest) on Mar 06, 2021 at 19:57 UTC | |
| |
by LanX (Saint) on Mar 06, 2021 at 15:09 UTC | |
by szabgab (Priest) on Mar 06, 2021 at 21:04 UTC | |
|