diff --git a/scripts/t-shirt-label-print.plx b/scripts/t-shirt-label-print.plx index 81f970c..304d37a 100644 --- a/scripts/t-shirt-label-print.plx +++ b/scripts/t-shirt-label-print.plx @@ -25,6 +25,7 @@ open(SIZE_COUNTS, "<", $SIZE_COUNTS); my %sizeCounts; while (my $line = ) { + next if ($line =~ /^\s*#/ or $line =~ /^\s*$/); if ($line =~ /^\s*(\S+)\s+(\d+)\s*/) { my($size, $count) = ($1, $2, $3); $sizeCounts{$size} = $count;