in reply to Opening a Text File that contains $ in the name.
Perl is trying to interpolate a scalar variable into the string. You want a literal dollar sign instead.