GD::Image is an integral part of GD.pm. When you use GD;, you get GD::Image also.
Examine what is said, not who speaks.
Silence betokens consent.
Love the truth but pardon error.
| [reply] [d/l] [select] |
That's what I thought when looking at the docs too. However, GD cannot be found on Activestate, but I found it on http://theoryx5.uwinnipeg.ca/ppms/. When you install, however, there is NO GD::Image included. Included are ::Simple and ::Polyline, but not ::Image.
How frustrating :-(
| [reply] |
I think you misunderstand me.
There is no separate file for GD::Image. All the code that makes up the GD::Image 'package' is in the file GD.pm.
Once you have installed GD from the PPM, you have also installed GD::Image. Just use it. It is there.
If you have installed GD, then try this:
perl -MGD -le "$img = GD::Image->new()"
That will run without error and create an instance of GD::Image.
Examine what is said, not who speaks.
Silence betokens consent.
Love the truth but pardon error.
| [reply] [d/l] |
GD::Image comes inside the GD.pm file. There is no separate GD/Image.pm file. There is no separate GD::Image documentation. Read GD instead. | [reply] |