Changeset 1936

Show
Ignore:
Timestamp:
03/14/07 16:58:38
Author:
daisuke
Message:

Allow +My::Custom::Plugin style naming convention

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger.pm

    r1908 r1936  
    222222 
    223223    my $module = delete $config->{module}; 
    224     $module =~ s/^Plagger::Plugin:://; 
    225     $module = "Plagger::Plugin::$module"; 
     224    if ($module !~ s/^\+//) { 
     225        $module =~ s/^Plagger::Plugin:://; 
     226        $module = "Plagger::Plugin::$module"; 
     227    } 
    226228 
    227229    if ($module->isa('Plagger::Plugin')) {