perl -le 'use strict; my $str1 = "test"; ( my $str2 = $str1 ) =~ s/t/m/g; print $str2'
In reply to Re: Assign & substitute in one statement?
by kesterkester
in thread Assign & substitute in one statement?
by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |