$fld =~ s/\$(\w+)/${$1}/g; # convert variable into its value..