Neat - Thanks! However, I'm getting an error that I need some help with (and the database is not changed): perl -w randsort.cgi Read on closed filehandle <SITES> at randsort.cgi line 16. print on closed filehandle main::SITES at randsort.cgi line 25. ----- Original Message ----- From: "Gunnar Hjalmarsson" <mailbox@gunnar.cc> To: <ringlinklist@gunnar.cc> Sent: Monday, October 30, 2000 10:40 PM Subject: [ringlinklist] Random reordering | Boatbuilding Ring wrote: | > | > In the interim, does anyone have a simple perl script that will | > randomize the database | | Ok, attached with this message you find a script that you can call from | cron. Make the necessary editing at the top, and upload it to the same | directory as the other Ringlink *.pl or *.cgi files. | | To run the script manually, log in to the server via telnet and use the | command | | perl randsort.pl | | Don't forget to make a backup copy of sites.db before you test it. :) | | / Gunnar