Comics in comics aggregator are now sorted

By | March 22, 2022

If you use my comics aggregator, you may have noticed that a month or so ago the comics on your page started appearing in a different, random order each day. This was the result of an upgrade to the version of Perl being used by the aggregator. In the old version of Perl, the order of items in a hash was undefined but tended to be consistent across invocations of a script if the same items were in the hash. In the new version it’s randomized each time, probably to discourage people from depending on the order in the hash. I didn’t like that the order was changing each time I viewed my comics, so I modified the code to sort them.

Print Friendly, PDF & Email

Leave a Reply

Your email address will not be published. Required fields are marked *