WintersMystic
Programmer
below is my code. this is straight off the docs for Image::Size. and it is installed on my webhost. but i get nothing but a blank screen when i test it. any ideas why?
Code:
#!/usr/bin/perl -w
use CGI::Carp qw(fatalsToBrowser);
BEGIN{
use CGI::Carp qw(carpout);
open(LOG, ">mycgi-log") or die"Cant open log: $!";
carpout(LOG);
}
use Image::Size;
($globe_x, $globe_y) = imgsize("IMAGE URL HERE");
print "Content-type: text/html\n\n";
print "$globe_x $globe_y";