$file=~s/$from/eval'"'.$to.'"'/sge; [download]
In reply to Re: how to evaluate a variable in a string? by chunlou in thread how to evaluate a variable in a string? by Anonymous Monk