On Tue, May 27, 2014 at 05:44:37PM +0200, Agustin Martin wrote:
> On Fri, May 23, 2014 at 05:38:28PM +0200, Agustin Martin wrote:
> > I have been wondering for some time if there is a simpler way to handle all
> > this sorting without using explicit tsort.
> > 
> > I have been playing for some time with a proof of concept of a perl-only
> > method to handle this, and tried today to put it into emacsen-common 
> > lib.pl. 
> > I am attaching current incarnation of it, both as a plain lib.pl and as a
> > git diff. I have tested in my system and it seems to work well, but consider
> > it highly experimental code.
> 
> Hi, Rob
> 
> Noticed some problems with my previous sort function, related to
> auto-vivification in deep perl hashes of hashes when deep keys are tested
> and parent key does not exist. 
> 
> I think this is fixed now, so I am attaching yet another version of lib.pl.
> It also uses a simpler dependencies hash and properly names function
> `generate_add_on_install_list' instead of `generate_add_on_install_list_new'.
> Needs further testing, but apparently works.
> 
> Attached is also the file I am using to test that ./lib.pl.
> 
> Hope it helps,

Hi again, Rob,

Forgot to mention that it now uses numerical comparison where needed. I am
also fixing the subject line. Initially replied to the old devscripts-el bug
and just noticed that I did not change the subject to current value.

-- 
Agustin


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to