Xacobeo::Plugin - Parent class for all plugins.
use strict; use warnings; use base 'Xacobeo::Plugin'; sub init { my ($self, $xacobeo) = @_; my ($window) = $xacobeo->get_windows(); $window->statusbar->display("Plugin Loaded!"); } # Finish the plugin with loaded __PACKAGE__->load();
Parent class for all plugins. It provides a common framework for all plugins.
The package defines the following methods:
Emmanuel Rodriguez <potyl@cpan.org>.
Copyright (C) 2008,2009 by Emmanuel Rodriguez.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install Xacobeo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Xacobeo
CPAN shell
perl -MCPAN -e shell install Xacobeo
For more information on module installation, please visit the detailed CPAN module installation guide.