Your OO perl question as been addressed....go ye and read merlyn's book.
I thought I would try and shed some light on your postscript concering graphics in perl. As far as I know there is not a graphics library written entirely in perl, but rather a few modules that are built on top of other libraries.
For the 2D side of things, take a look at the GD bundle of modules and the various modules built on top of them.
If you are feeling a bit more adventurous and want to dive into the 3D side of things, try reading Geoff Broadwell's articles over at perl.com (1, 2, 3). He leverages SDL::App and SDL::OpenGL.
A bit terse...but to the point I hope. |