http://qs321.pair.com?node_id=1017680


in reply to Re^2: Quick Question about batching files
in thread Quick Question about batching files

...sort them in to the folders...

Sort by which criteria? Name? Contents?

This is probably the main point that makes the question difficult to answer ... and maybe why some answers may seem rude or vague.

  • Comment on Re^3: Quick Question about batching files

Replies are listed 'Best First'.
Re^4: Quick Question about batching files
by Argel (Prior) on Feb 08, 2013 at 01:07 UTC
    Sorting may be harder, but that did not prevent choroba from mentioning e.g. opendir and File::Copy in the very first post in this thread. Given how most shell commands, etc. sort the contents of directory listings, he may not even realize it is something he will likely have to deal with! Or alternatively, he may have a handle on the sorting part. Sorting is fairly common and Perl does have a built-in function for it after all. On the other hand, array splicing, traversing directories, etc. could be another matter entirely. It's not even clear to me that sorting is part of the question.

    Elda Taluta; Sarks Sark; Ark Arks
    My deviantART gallery