Changeset 1642

Show
Ignore:
Timestamp:
08/31/05 11:56:19
Author:
miyagawa
Message:

Added --conf option to point your configuration file
Added DateTime?::* modules as PREREQ of Makefile.PL

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • bloglines2email/trunk/Makefile.PL

    r1631 r1642  
    88        Template => 0, 
    99        YAML => 0, 
     10        DateTime::Format::Mail => 0, 
     11        DateTime => 0, 
    1012    }, 
    1113    EXE_FILES => [ 'bloglines' ], 
  • bloglines2email/trunk/bloglines2email

    r1641 r1642  
    1414our $VERSION = '0.01'; 
    1515 
    16 GetOptions(\our %opt, "test", "verbose"); 
     16GetOptions(\our %opt, "test", "verbose", "conf=s"); 
    1717 
    18 my $conf = File::Spec->catfile($FindBin::Bin, "bloglines2email.conf"); 
     18my $conf = $opt{conf} || File::Spec->catfile($FindBin::Bin, "bloglines2email.conf"); 
    1919my $cfg  = YAML::LoadFile($conf); 
    2020