I am using File::Find function. I'm using Perl (v5.12.3) running on Mac OS X Lion (10.7.5). I am opening each file that is found and doing an MD5 digest. I am referencing each file using $File::Find::name. When it encounters a file with a trailing question mark, I get an error that the file is not found and the script errors out:
': No such file or directory at ./file_collector.pl line 166.D/Users/work/Documents/IconActual file is: /Volumes/Macintosh HD/Users/work/Documents/Icon?
When I try to list it from the shell, tab complete displays it as $ ls -lh /Volumes/Macintosh\ HD/Users/work/Documents/Icon^MI cannot find anyway to successfully handle this situation. Can anyone offer some suggestions?
Thanks and regards, BrianIn reply to filename with question mark by bdugay
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |