From b85575c625ff33df71b93ce656c7426cb856e7f1 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Sat, 2 Jan 2016 10:47:09 -0800 Subject: [PATCH] Don't warn, just print to STDERR with verbosity. --- scripts/send-t-shirts.plx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/send-t-shirts.plx b/scripts/send-t-shirts.plx index c8e6724..4c617a1 100644 --- a/scripts/send-t-shirts.plx +++ b/scripts/send-t-shirts.plx @@ -34,7 +34,7 @@ while (my $line = ) { die "id $id, and/or size $size not defined" unless defined $id and defined $size; $idsSent{$id} = $size; } else { - warn "skipping line $line"; + print STDERR "skipping line $line" if ($VERBOSE >= 2); } }