in reply to Interesting Use for "state" Variables
my $transformed=$original; $transformed =~ s/.../.../;
Then I discovered that I could keep the original and the transformed value by doing this one liner:
(my $transformed=$original) =~ s/.../.../;
Best, beth
|
|---|