Run the substitution before printing the result.
...or use s///r
In reply to Re^2: One liner is returning unexpected "1" on the output and I do not understand the mechanism at play.
by ikegami
in thread One liner is returning unexpected "1" on the output and I do not understand the mechanism at play.
by perlynewby
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |