projects
/
Biblio-RFID.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
70519c2
)
program only tag requested on command-line
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 28 Apr 2015 13:21:34 +0000
(15:21 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 28 Apr 2015 13:21:34 +0000
(15:21 +0200)
scripts/program.pl
patch
|
blob
|
history
diff --git
a/scripts/program.pl
b/scripts/program.pl
index
921153d
..
565bb2a
100755
(executable)
--- 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";
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";
if ( grep { defined $_ } values %$blank ) {
my $type = ( grep { $blank->{$_} } keys %$blank )[0];
warn "BLANK $type $tag\n";