From: Dobrica Pavlinusic Date: Tue, 28 Apr 2015 13:21:34 +0000 (+0200) Subject: program only tag requested on command-line X-Git-Url: http://git.rot13.org/?p=Biblio-RFID.git;a=commitdiff_plain;h=c288a23cfbda56592eb77fdafb8bdf4f0bbc33fa program only tag requested on command-line --- diff --git a/scripts/program.pl b/scripts/program.pl index 921153d..565bb2a 100755 --- a/scripts/program.pl +++ b/scripts/program.pl @@ -42,7 +42,7 @@ $Biblio::RFID::debug = $debug; foreach my $tag ( $rfid->tags, $sid ) { warn "visible $tag\n"; -# next unless $tag eq $sid; + next unless $tag eq $sid; if ( grep { defined $_ } values %$blank ) { my $type = ( grep { $blank->{$_} } keys %$blank )[0]; warn "BLANK $type $tag\n";