Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Perl 5.36 warns for magic comparison

by ikegami (Patriarch)
on Oct 15, 2023 at 17:32 UTC ( [id://11154961] : note . print w/replies, xml ) Need Help??


in reply to Re: 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.

  • Comment on Re^2: Perl 5.36 warns for magic comparison

Replies are listed 'Best First'.
Re^3: Perl 5.36 warns for magic comparison
by Bod (Parson) on Oct 15, 2023 at 20:46 UTC
    You don't get any warnings because you forgot to enable warnings.

    I see use warnings;

    Is this not enabling warnings?

      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.