put single quotes around the filename. stuff in single quotes is not subject to variable-interpolation, as such:
open F,'>c:/windows/get/a/real/operating.$y$tem'; print F "haha\n"; close F;
In reply to Re: opening a file name with a $ in it
by dlc
in thread opening a file name with a $ in it
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |