in reply to question of substitution
my $foo = 'abc this cba'; my $bar = 'ijk this kji'; ($foo = $bar) =~ s/this/that/; print "foo = $foo, bar = $bar\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: question of substitution
by wannabeboy (Novice) on Feb 27, 2005 at 12:32 UTC | |
by sh1tn (Priest) on Feb 27, 2005 at 12:35 UTC |