in reply to Re: using s/ to not only substitute but also modify text
in thread using s/ to not only substitute but also modify text

<cough>
$foo =~ s/(123)/function($1)/e; # ^
</cough>

Replies are listed 'Best First'.
Re^3: using s/ to not only substitute but also modify text
by gellyfish (Monsignor) on Jul 27, 2004 at 09:47 UTC

    Ooops, yes fixed now