Permalink
Browse files

Fix a warning about ambiguous shift usage

[committer's note: newer perl's don't have this problem, but 5.8.8 at
least appears to require the parens]
  • Loading branch information...
jwadamson authored and sitaramc committed Feb 24, 2013
1 parent a1aba93 commit bc041eac973134d4debc468fcc6e363cef59af99
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/triggers/post-compile/ssh-authkeys
@@ -121,7 +121,7 @@ sub fp_file {
sub fp_line {
my ( $fh, $fn ) = tempfile();
- print $fh shift . "\n";
+ print $fh shift() . "\n";
close $fh;
my $fp = fp_file($fn);
unlink $fn;

0 comments on commit bc041ea

Please sign in to comment.