with-authinfo-kludge: Add in some missing sigils.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 24 Apr 2016 22:30:30 +0000 (23:30 +0100)
committerMark 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

index d98aa83..fae87b5 100755 (executable)
@@ -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}; }
   }
 }