Toru Yamaguchi > CGI-Application-Plugin-AbstractCallback > CGI::Application::Plugin::AbstractCallback

Download:
CGI-Application-Plugin-AbstractCallback-0.03.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.03   Source  

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.

syntax highlighting: