Hi All,
I've google for this but for the life of me I can't find it. Basic
premise is that I have a variable, want to run a regexp over it and then
put the results back into itself. So far I have

my $foo="bar";
$_ = $foo;
$foo =~ s/bar/goo/g;

There has to be a better way hasn't there?


Rus



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to