[Catalyst] expand CGI::FormBuilder

Matt S Trout dbix-class at trout.me.uk
Thu Nov 22 18:22:20 GMT 2007

On Thu, Nov 22, 2007 at 04:15:24PM +0100, Felix Antonius Wilhelm Ostmann wrote:
> Hello,
> i want to add some funcs to the CGI::FormBuilder / 
> Catalyst::Controller::FormBuilder
> i tested something around, but dont find something usefull to read about :(
> i want to overwrite the func "field" and add another func ... but dont 
> find out how that works :( plz give me some hints :)

CGI::FormBuilder is a class.

That means it doesn't provide "func"s, it provides methods.

Have you tried subclassing it?

      Matt S Trout       Catalyst and DBIx::Class consulting and support -
   Technical Director      http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Christmas fun in collectable card game form -

More information about the Catalyst mailing list