in reply to Script Review...

Perltidy is your friend. It'll help with the inconsistent indentation and long lines. It'll also help with your inconsistent and sometimes cramped spacing between elements. For instance,

my($IMGURL)=$1;
will become
my ($IMGURL) = $1;
and
if(my($req)=$http->request($IMGURL)){
will become
if ( my ($req) = $http->request($IMGURL) ) {
Such things go a long way toward helping readability.

-sauoq
"My two cents aren't worth a dime.";