I'm using mod_perl-1.21 and testing GD-1.25.

When calling any of the demos examples given by GD-1.25 I have the error

"Can't locate object method BINMODE via package Apache".

The perl scripts are as follows:

#!/usr/local/bin/perl
use GD;
print "Content-type: image/png\n\n"
$im = new GD::Image(100,50);
...
binmode STDOUT;
# print the image to stdout
print $im->png;


Is somebody knowing the reason of the error ? 

-- Ignasi Roca

Reply via email to