8 require "src/logger.pl";
9 require "src/modules.pl";
10 require "src/Factoids/DBCommon.pl";
12 &loadConfig( $bot_config_dir . "/infobot.config" );
16 print "hrm.. usage\n";
21 next unless ( -f $_ );
23 open( IN, $_ ) or die "error: cannot open $_\n";
24 print "Opened $_ for input...\n";
26 print "inserting... ";
28 next unless (/^(.*?) => (.*)$/);
30 ### TODO: check if it already exists. if so, don't add.
31 &setFactInfo( $1, "factoid_value", $2 );
38 # vim:ts=4:sw=4:expandtab:tw=80