title: How to detect if file is an image in perl
body: <p>In order to set some varaibles i need the information if a given file on my server is an image. I do not know anything about the file exept for its location and name.</p>
  
  <p><strong>Is there a way to detect if a file is an image WITHOUT looking at the file extension?</strong></p>