laziness, impatience, and hubris | |
PerlMonks |
Re: Priority Sorting Challengeby Abigail-II (Bishop) |
on Jun 01, 2004 at 15:37 UTC ( [id://358138]=note: print w/replies, xml ) | Need Help?? |
This is a well know problem in the literature. It's know as "topological sorting". There is a module called 'Sort::Topological' on CPAN, which should do what you want.
Abigail
In Section
Seekers of Perl Wisdom
|
|