Konstrukt::HandlerKonstrukt::Handler is a base class for handlers that control the processing of the requests. | |
Download |
Konstrukt::Handler Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Thomas Wittek
- Publisher web site:
- http://search.cpan.org/~twittek/Konstrukt-0.5-beta7/lib/Konstrukt/Doc/Tutorial/Plugin/Note/DBI.pod
Konstrukt::Handler Tags
Konstrukt::Handler Description
Konstrukt::Handler is a base class for handlers that control the processing of the requests. Konstrukt::Handler is a base class for handlers that control the processing of the requests.SYNOPSIS use Konstrukt::Handler; #inherit new(), process() and emergency_exit() use base 'Konstrukt::Handler'; #create handler sub. usually a bit more comprehensive. see existing handlers sub handler { my ($self) = @_; print $self->process(); } #optional: overwrite method emergency_exit to provide some more info. sub emergency_exit { my ($self) = @_; #do something. e.g. print out error messages. die; }Base class for the Konstrukt handlers.You should inherit from this class when building your own handler.You will find the handlers currently available in the Konstrukt::Handler directory. Requirements: · Perl
Konstrukt::Handler Related Software