in reply to Unexpected compiler behavior

Does anybody can explain why "require BB;" in 1.pl don't work in this case:

the %SIG documentation warns/cautions you against compling perl code (by calling require) from inside the handler ... don't use require (eval) or do(eval) or string eval(eval) inside a signal handler

Whatever you're trying to solve, there is probably a better way to solve

Replies are listed 'Best First'.
Re^2: Unexpected compiler behavior
by zdm (Beadle) on Feb 28, 2014 at 13:04 UTC
    Thanks, now it's clear for me.