in reply to Re: warnings under the debugger
in thread warnings under the debugger

Well, that's string eval, which starts a new interpreter with warnings switched off to begin with. Technically you are correct, string eval has a radical effect on warnings :)

What I meant to say is that a warning that is generated inside an eval (of any type) will be shown. Warnings are not suppressed by eval in a similar way die is.

perl -we 'eval "use warnings; $foo = { bar => () };";
will print the warning, even from within eval.

Anno