Maybe you have an old (or broken) installation of DateTime? At least DateTime 0.70 has these two lines:
use constant INFINITY => ( 9**9**9 ); use constant NEG_INFINITY => -1 * ( 9**9**9 );
Also, why are you testing the Perl module/program through "swish" instead of trying to eliminate the irrelevant parts? I would start with perl -MDateTime::Infinity -e1 resp. perl -MDateTime -e1 and slowly work my way up the chain until things fail.
In reply to Re^3: Problems locating modules
by Corion
in thread Problems locating modules
by calivw78
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |