Hi,

I'm using the Image::Info module to return Exif information located inside images.

image_info() returns a reference to a hash, so the code below returns all keys and dumps their values.
This works fine, except some keys return a reference to an array.
Any ideas on how I can indentify a reference to an array so I can deal with it accordingly ?

Martin


use Image::Info;
my $info = image_info($filename);

foreach my $key ( sort keys %$info ) {
printf "%-30s%-20s\n",$key,$info->{$key};
}


_________________________________________________________________
Surf together with new Shared Browsing http://join.msn.com/?page=features/browse&pgmarket=en-gb&XAPID=74&DI=1059


Reply via email to