Subject: | Bareword "ONE_YEAR" not allowed |
perl 5.14.2 RHEL5
This is the first time I've used this module
root@kolanut# perl -MNet::Domain::ExpireDate
Bareword "ONE_YEAR" not allowed while "strict subs" in use at /opt/perl/uq.cis.perl-dmt-
toys.rhel5-5.14.2-20120731/lib/site_perl/5.14.2/Net/Domain/ExpireDate.pm line 447.
Bareword "ONE_DAY" not allowed while "strict subs" in use at /opt/perl/uq.cis.perl-dmt-
toys.rhel5-5.14.2-20120731/lib/site_perl/5.14.2/Net/Domain/ExpireDate.pm line 461.
BEGIN not safe after errors--compilation aborted at /opt/perl/uq.cis.perl-dmt-toys.rhel5-
5.14.2-20120731/lib/site_perl/5.14.2/Net/Domain/ExpireDate.pm line 481.
the problem goes away by removing dates_int_ru()