On Tue, 2004-04-20 at 11:54, Bob Bell wrote:
> $ perl -pe '$tag="MyTag";$other="MyOtherTag";s/::(\w+)/${$1}/ge;' <<< "foo ::tag ::other"
> foo MyTag MyOtherTag
> 
> Key bit there is "/e".
Worked perfect!  Thanks Bob, and Jim, for the help.
-- 
brian <lists at karas.net>