There is Authen::Captcha.
In reply to Re: [OT] Some questions on captcha by fglock in thread [OT] Some questions on captcha by kiat