in reply to regexp trouble...
$Data =~ s/([^\\])\$(\w+)/$1${$2}/g; $Data =~ s/\\\$(\w+)/\$$1/g; [download]