* Andreas Koenig via RT wrote:
Show quoted text>The test t/02gd.t has the best intention to skip all tests when GD is
>not available. But then it has a
>
> use GD 'GD_CMP_IMAGE';
>
>on line 35 which causes the test to fail at compile time, i.e. before
>the eval "use GD" is executed.
>
>This would work (tested):
>
> 35 GD->import('GD_CMP_IMAGE');
> 36 my $gd2 = GD::Image->newFromPngData($re_png, 1);
> 37 ok(!($gd->compare($gd2) & GD::GD_CMP_IMAGE()));
Yeah, I thought `GD::GD_CMP_IMAGE` would work after the initial `use`
but it did not so I put in the other use, thought I tested this works,
but apparently I failed. I've uploaded a new version with your fix.
Thank you,
--
Björn Höhrmann · mailto:bjoern@hoehrmann.de ·
http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 ·
http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 ·
http://www.websitedev.de/