chiark
/
gitweb
/
~ianmdlvl
/
sympathy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7387804
)
serialmgrd: Support recent versions of perl
author
Ian Jackson
<Ian.Jackson@eu.citrix.com>
Tue, 3 Mar 2015 19:33:28 +0000
(19:33 +0000)
committer
Ian Jackson
<Ian.Jackson@eu.citrix.com>
Tue, 3 Mar 2015 19:34:17 +0000
(19:34 +0000)
split() doesn't automatically assign to @_ any more.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
serialmgr/serialmgrd
patch
|
blob
|
history
diff --git
a/serialmgr/serialmgrd
b/serialmgr/serialmgrd
index 6a839adeaa3653ec34a644bef9c65d86db2ee565..9fec92cf92769e18285e77e48530e0ffced8e6c3 100755
(executable)
--- a/
serialmgr/serialmgrd
+++ b/
serialmgr/serialmgrd
@@
-56,7
+56,7
@@
sub read_file() {
next if ( $_ =~ /^#/ );
chomp;
- split(':');
+
@_ =
split(':');
$c = 0;
push @$lines, { map { $keys[ $c++ ] => $_ } @_ };
}