Parent Directory | Revision Log
r60@brr: dpavlin | 2007-11-16 17:21:39 +0100 - rewrite plugins to use Module::Pluggable - plugins are enabled by default, use --no-plugins to disable them
1 | package MDAP; |
2 | |
3 | use strict; |
4 | use warnings; |
5 | |
6 | use Data::Dump qw/dump/; |
7 | |
8 | use Module::Pluggable search_path => 'MDAP', sub_name => 'plugins', require => 1; |
9 | my @plugins = __PACKAGE__->plugins; |
10 | warn "## found plugins: ",dump( @plugins ); |
11 | |
12 | 1; |
ViewVC Help | |
Powered by ViewVC 1.1.26 |