|
|
| go ahead... be a heretic | |
| PerlMonks |
DateTime->now problemby Grimey (Novice) |
| on Apr 01, 2011 at 20:50 UTC ( [id://896997]=perlquestion: print w/replies, xml ) | Need Help?? |
|
Grimey has asked for the wisdom of the Perl Monks concerning the following question:
------------------------------------------------- When I attempt to run the program I get to following: $ perl perltest.pl 'regex' validation parameter for 'DateTime::from_epoch must be a string or qr// regex at /usr/local/lib64/perl5/DateTime.pm line 486 DateTime::from_epoch(undef, 'epoch', 1301690690) called at /usr/local/lib64/perl5/DateTime.pm line 511 DateTime::now('DateTime') called at perltest.pl line 6 ---------------------------------------------------------- I attempted to look at the DateTime.pm file, but I couldn't see the problem in from_epoch(). I have used this module on a different server before with success. On the new server (redhat 6.0) DateTime installed from CPAN without a fuss, but I can't use it. Please let me know if I have done anything incorrectly, I am a first time poster here and would be grateful for any help as googling this issue has brought information. This is perl 5, version 12, subversion 3 (v5.12.3) built for x86_64-linux-thread-multi DateTime is up to date (0.66). perl -le'use Params::Validate; print Params::Validate->VERSION' 0.95
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||