projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82b6a3a
)
really, really give a better error message when used under 5.005 now. really.
author
ivan
<ivan>
Sat, 7 Jun 2003 01:57:33 +0000
(
01:57
+0000)
committer
ivan
<ivan>
Sat, 7 Jun 2003 01:57:33 +0000
(
01:57
+0000)
FS/FS/cust_main.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main.pm
b/FS/FS/cust_main.pm
index
0176c77
..
079583a
100644
(file)
--- a/
FS/FS/cust_main.pm
+++ b/
FS/FS/cust_main.pm
@@
-5,7
+5,9
@@
use vars qw( @ISA $conf $Debug $import );
use Safe;
use Carp;
BEGIN {
- eval "use Time::Local 1.05;" if $] < 5.006;
+ eval "use Time::Local;";
+ die "Time::Local version 1.05 with Perl versions before 5.6"
+ if $] < 5.006 && !defined($Time::Local::VERSION);
eval "use Time::Local qw(timelocal_nocheck);";
}
use Date::Format;