selecting a random file

Net Llama! netllama
Mon May 17 11:48:43 PDT 2004


I'm working on a blog (http://netllama.linux-sxs.org for the 
curious/bored), and I'd like to add a feature that displays a random 
image from a directory each time the page loads (or perhaps just via a 
cronjob).  I'm sure that this is quite simple for someone with alot more 
perl f00 than I.  anyone have any pointers?

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                       	       netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: 		    http://netllama.ipfox.com

   8:55am  up 13 days, 13:37,  1 user,  load average: 0.07, 0.10, 0.10




More information about the Linux-users mailing list