|
Hi,
I've lost last night battling with some weird bug.
Here's the test case:
my $img = Imager->new();
open ($fh,"</tmp/calvin.gif");
$img->read(file=>&$fh);
$body .= "Error1 ".$img->errstr()."<br/>";
my $img2 = Imager->new();
$img2->read(file=>"/tmp/calvin.gif");
$body .= "Error2 ".$img2->errstr()."<br/>";
The problem lies on the fact thar the i get error on error1 and not on error2: No such File
and the file is accessible through $img2.
Is there any known problem on version 0.55 ?
Am i doing enything wrong?
|