Don't ask to ask, just ask | |
PerlMonks |
Re: How can I create a file namedby Anonymous Monk |
on Jun 26, 2002 at 02:05 UTC ( [id://177261]=note: print w/replies, xml ) | Need Help?? |
Depending on the file system that you are trying to save it to, you may not be able to.
FAT, FAT32, and NTFS don't allow '?' in the file name.
Looking at the extension I suspect that is probably the problem, you'll have to use another character.
or, just do something like hex encode the filename, like To retrieve the original name you'd pack it instead of unpack'ing.
In Section
Seekers of Perl Wisdom
|
|