chiark
/
gitweb
/
~mdw
/
with-authinfo-kludge
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8e64c0
)
with-authinfo-kludge: Add in some missing sigils.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 24 Apr 2016 22:30:30 +0000
(23:30 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 24 Apr 2016 23:55:29 +0000
(
00:55
+0100)
Perl 5.20 helpfully warned about these where 5.14 didn't bother.
with-authinfo-kludge
patch
|
blob
|
blame
|
history
diff --git
a/with-authinfo-kludge
b/with-authinfo-kludge
index d98aa83da08b6990d50c65913a60c0bbe1437ebb..fae87b5807a28c8ac228391f3d8ba08e613ff991 100755
(executable)
--- a/
with-authinfo-kludge
+++ b/
with-authinfo-kludge
@@
-200,7
+200,7
@@
sub chew_cli_server_configs (\@) {
ARG: for (;;) {
last ARG unless @$args;
- my $arg = shift $args;
+ my $arg = shift
@
$args;
if ($arg eq "+") { last ARG; }
elsif ($arg =~ /^\+/) {
$server = substr $arg, 1;
@@
-298,7
+298,7
@@
sub dump_configuration () {
for my $s (sort keys %S) {
inform "Server `$s' parameters...";
- for my $p (sort keys
$S{$s
}) { inform_param $p, $S{$s}{$p}; }
+ for my $p (sort keys
%{$S{$s}
}) { inform_param $p, $S{$s}{$p}; }
}
}