From: Manni H. <man...@us...> - 2005-02-24 22:45:07
|
Update of /cvsroot/popfile/engine In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19760 Modified Files: popfile.pl Log Message: Check VERSION and Version of module required by POPFile. Index: popfile.pl =================================================================== RCS file: /cvsroot/popfile/engine/popfile.pl,v retrieving revision 1.228 retrieving revision 1.229 diff -C2 -d -r1.228 -r1.229 *** popfile.pl 24 Feb 2005 12:53:11 -0000 1.228 --- popfile.pl 24 Feb 2005 22:44:58 -0000 1.229 *************** *** 52,57 **** local $::SIG{__WARN__}; eval "require $module"; ! my $ver = ${"${module}::VERSION"} || ${"${module}::VERSION"} || 0; ! $ver = ${"${module}::VERSION"} || ${"${module}::VERSION"} || 0; $ver = -1 if $@; --- 52,57 ---- local $::SIG{__WARN__}; eval "require $module"; ! my $ver = ${"${module}::VERSION"} || ${"${module}::Version"} || 0; ! $ver = ${"${module}::VERSION"} || ${"${module}::Version"} || 0; $ver = -1 if $@; |