On Tue, Apr 20, 2004 at 11:20:54AM -0400, brian <[EMAIL PROTECTED]> wrote: > Every s/ operation I come up with always ends up replacing ::tag with > the literal "$tag".
Can you share code? I don't see why you'd have a problem. $ perl -pe '$tag="MyTag";s/::tag/$tag/g;' <<< "foo ::tag ::other" foo MyTag ::other -- Bob Bell _______________________________________________ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss