http://www.perlmonks.org?node_id=581582


in reply to Search and Copy a filepath

I have a program...

So, this is a Perl program you wrote? Let's see it.

I can either copy the file over as soon as the user selects it or I can have my program read from any directory instead of just my \Images folder.

Which method is better?

The latter, by far. You should not impose irrelevant restrictions on your users, and you should not go copying around files — especially large files — and especially not without your users' knowledge.

We're building the house of the future together.