note
Corion
<p>Note that if your filename contains single or double quotes, you'll strip them and subsequently Perl won't find the file under the mangled name. A somewhat saner approach might be to find out <i>how exactly</i> filenames arrive in your program when dragged into it.</p>
<p>As an example, on Windows, filenames dropped into the console window get surrounded by double quotes. So, <i>on Windows</i> it would make sense to strip one leading and the trailing double quote. Windows allows single quotes in filenames, so stripping them out is ill-advised.</p>
865794
865820