dies with this message: Can't use an undefined value as a symbol reference at /usr/local/lib/perl5/site_perl/5.8.6/i386-freebsd/GD/Image.pm line 193.open F, TMP_GIF_FNAME; my $im = GD::Image->newFromGif( F ); close F;
In GD/Image.pm:
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,@_); }
Versions:
GD: 2.27
gd: 2.0.33
What am I doing wrong?
In reply to constant problem with GD's newFromGif by maard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |