Changeset 1325

Show
Ignore:
Timestamp:
08/15/06 19:37:33
Author:
miyagawa
Message:

temporary hack to allow include/recipes in bin scripts. via http://d.hatena.ne.jp/hirose31/20060815/1155615023

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/bin/plagger-ircbot

    r1045 r1325  
    33use strict; 
    44 
     5use Plagger; 
    56use FindBin; 
    67use Getopt::Long; 
     
    2526 
    2627my $config_yaml = YAML::LoadFile($path); 
     28 
     29# temp hack to allow include/recipes 
     30Plagger::load_include(undef, $config_yaml); 
     31Plagger::load_recipes(undef, $config_yaml); 
    2732my $plugin = first { $_->{module} eq 'Notify::IRC' } @{ $config_yaml->{plugins} } 
    2833    or die "Can't find Notify::IRC config in $path";