The goal of
local is exactly that of not allowing you to do that. According to
the relevant docs:
This operator works by saving the current values of those variables in its argument list on a hidden stack and restoring them upon exiting the block, subroutine, or eval. This means that called subroutines can also reference the local variable, but not the global one.
Even if you succeed in touching the
hidden stack, this is something you shouldn't really rely on for anything serious.
Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf
Don't fool yourself.