I can not figure out why its output changes.
my $nothing = ''; my $list = <<LIST; thing 1 thing 2 $nothing thing 3 thing 4 LIST $list =~ s/\s{2}/2/g; print $list; # output: #thing 1 #thing 22thing23 #thing24
I would like the output.
thing 1 thing 2 thing23 thing24
In reply to Perl regex. Why does this happen? by $h4X4_|=73}{
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |