- or download this
use strict;
use warnings;
...
say "$x-$y";
testing($y);
say "$x-$y";
- or download this
x-x
y-y <-- Changed both $x and $y
- or download this
for (1..2) {
my $y = "x";
say $y;
testing($y);
}
- or download this
x
y <-- Changed the constant!