$line =~ s/\$/\&\#36\;/g;