On Sun Jun 12 19:23:31 2011, user42@zip.com.au wrote:
Show quoted text> With the debian packaged GD 2.46 and perl 5.12, a program
>
> use GD;
> GD::Image->newFromXbm('/dev/null')
>
> gets
>
> Can't locate object method "newFromXbm" via package "GD::Image" at
> foo.pl line 2.
>
> That func is in the POD, is it meant to be in the code?
> (I see _newFromXbm exists ...)
Ouch
Many more are missing, have the wrong PREFIX:
gd_new(packname="GD::Image", x=64, y=64, ...)
gd_newFromPng(packname="GD::Image", filehandle, ...)
gd_newFromXbm(packname="GD::Image", filehandle)
gd_newFromGd(packname="GD::Image", filehandle)
gd_newFromGd2(packname="GD::Image", filehandle)
gd_newFromJpeg(packname="GD::Image", filehandle, ...)
gd_newFromWBMP(packname="GD::Image", filehandle)
gd_newFromGd2Part(packname="GD::Image", filehandle,srcX,srcY,width,height)
gd_newFromGif(packname="GD::Image", filehandle)
I'll fix it
--
Reini Urban