maard has asked for the wisdom of the Perl Monks concerning the following question:
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?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: constant problem with GD's newFromGif
by Roger (Parson) on Sep 01, 2005 at 11:01 UTC | |
by maard (Pilgrim) on Sep 01, 2005 at 11:52 UTC |