Imager - Possible bug Report- FIlehandler problem

Posted on Mon Jan 22 17:55:31 2007 by tafinho
Possible bug Report- FIlehandler problem
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?
Direct Responses: 4120 | Write a response