>>>>> ""Gavin" == "Gavin Bowlby" <[EMAIL PROTECTED]> writes:
"Gavin> It's important that user scripts are dispatched in identical order "Gavin> across runs for repeatability and debugging, and the general sanity of "Gavin> the users and the developer. Then add a serial number, and sort on that when you need to pull things. You're not going to get much better. A hash is optimized for finding things quickly. A list is optimized for ordering. Choose one of the two, and create a data structure to hold it. You might have a separate queue where you create the hash entry, then push the item onto the end of the queue. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>