Author image Toru Yamaguchi

NAME

CGI::Application::Plugin::AbstractCallback - This is the abstract method for externalizing callbacks

SYNOPSIS

        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;

DESCRIPTION

This module is the abstract class for externalizing callbacks. The callback defined in the child class( of this class) is added in specified hook.

METHODS

callback()

This method is abstract, So you should implement and override the method as callback.

SEE ALSO

CGI::Application perl(1)

AUTHOR

Toru Yamaguchi, <zigorou@cpan.org>

THANKS

Songhee Han

COPYRIGHT AND LICENSE

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.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 93:

=back doesn't take any parameters, but you said =back 4