in reply to How to process dropped files

What if I drag multiple files to the perl window? Only one filename is + received, and no newline...

I don't use windows, obviously, but wouldn't multiple fileNAMES be separated by newlines? And only the last would need pressing the enter key (or whatever the input line separator is)? So, I *guess*, in case of multiple filenames list pasted, you should get printed all the filenames except the last.

Replies are listed 'Best First'.
Re^2: How to process dropped files
by vitoco (Hermit) on May 27, 2024 at 03:53 UTC

    I thought the same, but no, it only gives the name of one of them. I didn't check which of them (first selected, first in current sorting order, the last one...)