in reply to Hash references and Exif data

%image_info isn't the hash reference; $image_info is. References are stored as scalars, and in order to dereference them, you have to use special syntax. To treat the reference as a normal hash, write it as %$image_info, and to access just a single element from it, write $image_info->{key}.

I don't know anything about EXIF, though.