I have a web page that I want to have loaded up to display with ten random pictures and corresponding descriptions around the logo of the site.
I want to have these pictures picked out of a list of about 30 different pictures.
I have my pictures names, paths, and Descriptions stored in a txt file that I update.
What would the best way to build this page using perl? Do I read my text file and create an array with all the available pictures names in it and then run some sort of random way of selecting a picture form that array?
I would need a way that would only pick pictures that had not already been picked.
I just need out some suggestions for this kind of operation before I start.
Also sample code would be nice.
I want to have these pictures picked out of a list of about 30 different pictures.
I have my pictures names, paths, and Descriptions stored in a txt file that I update.
What would the best way to build this page using perl? Do I read my text file and create an array with all the available pictures names in it and then run some sort of random way of selecting a picture form that array?
I would need a way that would only pick pictures that had not already been picked.
I just need out some suggestions for this kind of operation before I start.
Also sample code would be nice.