Perl CGI display image to browser from file
问题 Friends, I have been scouring the web for a solution to displaying images to a web browser with Perl and have found nothing that works for me. I've tried possible solutions such as: How To Display an Image with Perl Outputting Image Data Return an Image From a Script and none of it works for what I'm doing. I want to deny client access to the image (Or even simply place the image file out of the www root) and dish it out server-side. Here is an example of what I'm doing: In my main perl file: