Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Need some idea on this

by revdiablo (Prior)
on Aug 10, 2006 at 15:59 UTC ( #566652=note: print w/replies, xml ) Need Help??


in reply to Grouping Files to Fill DVDs

Packing things onto CD or DVD is a well-worn problem space. There are several modules available that can help you out. My favorite happens to be Algorithm::BinPack, but I may be biased (being the author and whatnot). The algorithm it uses is very simple, and if you can't use the module directly, you should be able to take the pertinent bits out without much of a problem.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://566652]
help
Chatterbox?
[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 rifling through the Monastery: (8)
As of 2017-04-25 07:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (449 votes). Check out past polls.