in reply to use perl to print multiple images
Assuming your program is generating HTML, your if statement should probably generate the HTML code that includes images.
print '<img src = "http://www.example.com/images/crop.jpg" alt = " +Crop">' x $crops;
|
|---|