projects
/
pve-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b732bea
)
avoid warning when parsing long hex values with hex()
author
Dietmar Maurer
<dietmar@proxmox.com>
Wed, 25 Jun 2014 10:32:48 +0000
(12:32 +0200)
committer
Dietmar Maurer
<dietmar@proxmox.com>
Wed, 25 Jun 2014 10:32:48 +0000
(12:32 +0200)
data/PVE/Tools.pm
patch
|
blob
|
history
diff --git
a/data/PVE/Tools.pm
b/data/PVE/Tools.pm
index
647fe15
..
05576e0
100644
(file)
--- a/
data/PVE/Tools.pm
+++ b/
data/PVE/Tools.pm
@@
-19,6
+19,9
@@
use Text::ParseWords;
use String::ShellQuote;
use Time::HiRes qw(usleep gettimeofday tv_interval);
+# avoid warning when parsing long hex values with hex()
+no warnings 'portable'; # Support for 64-bit ints required
+
our @EXPORT_OK = qw(
$IPV6RE
$IPV4RE