my $old = 'cat'; my $new = $old =~ s/.+/dog/r; ## $old still 'cat' ## $new is 'dog'
In reply to Re: Move along, nothing to see here . . .
by Anonymous Monk
in thread Move along, nothing to see here . . .
by hesco
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |