Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

RE: RE: Random Image in HTML

by merlyn (Sage)
on Apr 26, 2000 at 01:17 UTC ( [id://9111] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $image = $images[rand($#images+1)];
    
  2. or download this
    $image = $images[rand @images];