locked_user sundialsvc4 has asked for the wisdom of the Perl Monks concerning the following question:
Is there a well-defined way to optimize an autobundle such that prerequisites are automatically sorted to the head of the list? Another way to say it is, “is there an ‘official’ way, and if not, what’s the best unofficial one?”
The default ordering of bundle entries is, of course, alphabetical. But, to quote a very simple example, “YAML begins with Y.” The most-desirable algorithm would, so to speak, “bubble-sort” the entries so that common prerequisites would be ordered to the front of the list. Therefore, modules which know how to compensate for the absence of a package won’t have to do that when the essential problem is that the package merely hasn’t been installed yet because its name has not yet come up.
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Optimizing an autobundle?
by Anonymous Monk on Sep 12, 2011 at 20:18 UTC | |
|
Re: Optimizing an autobundle?
by atcroft (Abbot) on Sep 13, 2011 at 14:27 UTC | |
|
Re: Optimizing an autobundle?
by zengargoyle (Deacon) on Sep 14, 2011 at 15:31 UTC |