open F, TMP_GIF_FNAME; my $im = GD::Image->newFromGif( F ); close F; #### sub newFromGif { croak("Usage: newFromGif(class,filehandle,[truecolor])") unless @_>=2; my($class) = shift; my($f) = shift; my $fh = $class->_make_filehandle($f); binmode($fh); # <-- line 193 $class->_newFromGif($fh,@_); }