From a7262a98bc6f3082f51f7c59fe1d2e466f50c06d Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Tue, 22 Nov 2011 14:28:37 +0000 Subject: [PATCH] Avoid use of map in void context --- bin/stow.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/stow.in b/bin/stow.in index c10baf7..de9c569 100755 --- a/bin/stow.in +++ b/bin/stow.in @@ -434,7 +434,7 @@ sub main { if (scalar @conflicts) { warn "WARNING: conflicts detected.\n"; if ($options->{'conflicts'}) { - map { warn $_ } @conflicts; + warn $_ foreach @conflicts; } warn "WARNING: all operations aborted.\n"; }