I get no warning out of Perl 5.36.1 from the following script:
#!/usr/bin/env perl use strict; use warnings; use v5.36; say 'Hello, world!';
using the commands:
perl -d dbg.pl
DB<1> @lines = @{"_<dbg.pl"}; say $_ == 0 for @lines;
1
1
1
1
1
1
1
1
DB<2> q
I also tried 5.36.0, with the same output and the same lack of a warning.
Maybe if you exhibited a small, self-contained example, giving the exact code and exact debugger commands to trigger the problem?
In reply to Re: Perl 5.36 warns for magic comparison
by Anonymous Monk
in thread Perl 5.36 warns for magic comparison
by hurricup
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |