projects
/
imager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
907d9d7
)
avoid warnings from comparing a dev version number from Exporter
author
Tony Cook
<tony@develop-help.com>
Wed, 15 Jun 2011 12:12:48 +0000
(22:12 +1000)
committer
Tony Cook
<tony@develop-help.com>
Wed, 15 Jun 2011 12:14:01 +0000
(22:14 +1000)
Imager.pm
patch
|
blob
|
blame
|
history
diff --git
a/Imager.pm
b/Imager.pm
index 769f09bf106743a1b9c65ea71853aa0ea7e4da4e..2dd2709314c2891a9a8349661c75a08d80e7d736 100644
(file)
--- a/
Imager.pm
+++ b/
Imager.pm
@@
-137,7
+137,8
@@
my %defaults;
BEGIN {
require Exporter;
- if ($Exporter::VERSION < 5.57) {
+ my $ex_version = eval $Exporter::VERSION;
+ if ($ex_version < 5.57) {
@ISA = qw(Exporter);
}
$VERSION = '0.83';