http://groups-beta.google.com/group/comp.lang.perl.misc/browse_thread/thread/e0e3efc840f45279/0ec9568510bfb279?q=gd::text+gd::image&rnum=2&hl=en#0ec9568510bfb279
The section titled "GD + GD::Text example" may give you a starting point. If this doesn't help, let me know. This is a useful thing to know and I'll try to get it working...