| CGI-Application-Plugin-AbstractCallback documentation | view source | Contained in the CGI-Application-Plugin-AbstractCallback distribution. |
CGI::Application::Plugin::AbstractCallback - This is the abstract method for externalizing callbacks
package MyApp::Plugin::MyInitCallback;
use strict;
use warnings;
use base CGI::Application::Plugin::AbstractCallback;
sub callback {
# override me
}
1;
package MyApp;
use base qw|CGI::Application|;
use MyApp::Plugin::MyInitCallback qw|init|; ## add init hook your callback
1;
This module is the abstract class for externalizing callbacks. The callback defined in the child class( of this class) is added in specified hook.
This method is abstract, So you should implement and override the method as callback.
CGI::Application (CGI::Application) perl(1)
Toru Yamaguchi, <zigorou@cpan.org>
Copyright (C) 2006 by Toru Yamaguchi
This library is free software. You can modify and or distribute it under the same terms as Perl itself.
| CGI-Application-Plugin-AbstractCallback documentation | view source | Contained in the CGI-Application-Plugin-AbstractCallback distribution. |