in reply to Re^2: Perl 5.36 warns for magic comparison
in thread Perl 5.36 warns for magic comparison

You don't get any warnings because you forgot to enable warnings.

I see use warnings;

Is this not enabling warnings?

Replies are listed 'Best First'.
Re^4: Perl 5.36 warns for magic comparison
by ikegami (Patriarch) on Oct 17, 2023 at 17:56 UTC

    use warnings; has a lexical scope. You have no warnings enabled in the debugger. Use -w, or add use warnings; to the snippet you're evaluating in the debugger.