in reply to Re: Perl - Copy files to a newly created folder
in thread Perl - Copy files to a newly created folder

Fishmonger,
thanks for your answer! Your code works perfectly (I changed the move to copy to be able to test it several times without having to copy the files again). I also used the quotes around $dir/* for the @files building.
Now the thing is, I think I understand how your code works, but could you please explain each line so I know exactly how it runs, step by step?
You have been a great help but now I want to know how it works to be able to do it again in the future, if necessary...
Could you add #commentaries like this on each line to guide my through?
That would be extremely helpful! Thanks!
Ben