Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: Quick Question about batching files

by igelkott (Curate)
on Feb 07, 2013 at 15:39 UTC ( #1017680=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1017680]
help
Chatterbox?
[moritz]: seems there's a size limit for hostenum, and the error message just sucks
[vrk]: None, other than the location of the error: auto/NetAddr/IP/ _splitref.al
[vrk]: Aha, there's a reference to "bug report 82719" in NetAddr/IP.pm's sub _splitref.
[moritz]: wow, that's their idea of an "improved error message"
[moritz]: how about "This network is too large to enumerate all host addresses." or so?
[vrk]: Well, there's a call to notcontiguous() before the error, whose description is "counts the bit positions remaining in the mask when the rightmost '0's are removed"
[vrk]: Clear as mud!

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2017-04-25 07:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (449 votes). Check out past polls.