run 'perl test.pl'; line 2 run or not, affect the rest. comment it and see for yourself.I use perl 5.38 in manjaro.my $a = "abc"; my @b = $a =~ /.(?!a)/g; #comment this line to see the output my $c = 'test'; $c =~ s///; print $c
ADD:
It's beyong all expectations.
In reply to I thought I found a bug of Perl by vincentaxhe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |