On Fri, Mar 31, 2006 at 11:43:31AM +0100, hv@crypt.org wrote: > Adam Kennedy <cpan@ali.as> wrote: > :And for those of you playing at home, the trick of mucking around with > :the symbol table by replacing entire *things, instead of just your > :$thing, or &thing, is a good way of getting past ALL SORTS of nasty > :error checking. > : > :Like replacing the subroutine you are currently in, while you are > :running it :) > > This gives a SEGV at least from v5.8.1 to v5.8.3: > perl -e 'sub b { my $a; *b=\&c; c() } sub c { die } b()' > > (My work code still has a comment to that effect ...) As of 5.8.4 it dies instead. Nicholas ClarkThread Previous | Thread Next