projects
/
Biblio-RFID.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
dd0ff7b
)
--only now accepts just part of name
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 29 Jul 2010 12:07:19 +0000
(14:07 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 29 Jul 2010 12:07:19 +0000
(14:07 +0200)
scripts/scan.pl
patch
|
blob
|
history
diff --git
a/scripts/scan.pl
b/scripts/scan.pl
index
47da568
..
605b82e
100755
(executable)
--- a/
scripts/scan.pl
+++ b/
scripts/scan.pl
@@
-18,7
+18,7
@@
my @readers = ( '3M810', 'CPRM02' );
my @rfid;
foreach my $reader ( @readers ) {
- next if $
only
&& $only ne $reader;
+ next if $
reader !~ /$only/i
&& $only ne $reader;
my $module = "RFID::Biblio::$reader";
eval "use $module";
die $@ if $@;