in reply to use perl to print multiple images

What kind of output are device are you using?

If you simply print to the standard output, you can only display text (except through ASCII art).

For displaying images you either need an UI toolkit (ie open a window), or a web frontend.