Hi all,

 

When running the script 

 

#!/exlibris/sfx_ver/sfx4_1/app/perl/bin/perl

use strict;

use warnings;

use DateTime;

print
DateTime->from_epoch(epoch=>1258962640,time_zone=>'local')->hour,"\n";

 

everything works fine

 

when adding

 

#!/exlibris/sfx_ver/sfx4_1/app/perl/bin/perl

use strict;

use warnings;

use DateTime;

use CGI::Carp qw(croak);

print
DateTime->from_epoch(epoch=>1258962640,time_zone=>'local')->hour,"\n";

It does not work.

 

It depends on the function

DateTime::TimeZone::Local::Unix::_FindMatchingZoneinfoFile

Where it makes die.

 

 

Best regards,

David

David Gang
Programmer
Tel: +9722-6499-341
Mobile: +052-7635170
Fax: +
david.g...@exlibrisgroup.com
 
www.exlibrisgroup.com <http://www.exlibrisgroup.com> 

 

<<image001.jpg>>

Reply via email to