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:
77f5329
)
look for reader implementations in correct place
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 6 Aug 2010 19:25:24 +0000
(21:25 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 6 Aug 2010 19:25:24 +0000
(21:25 +0200)
lib/RFID/Biblio/Reader.pm
patch
|
blob
|
history
diff --git
a/lib/RFID/Biblio/Reader.pm
b/lib/RFID/Biblio/Reader.pm
index
5868311
..
9b3e5cc
100644
(file)
--- a/
lib/RFID/Biblio/Reader.pm
+++ b/
lib/RFID/Biblio/Reader.pm
@@
-106,7
+106,7
@@
sub _available {
foreach my $reader ( @readers ) {
next if $filter && $reader !~ /$filter/i;
- my $module = "RFID::Biblio::$reader";
+ my $module = "RFID::Biblio::
Reader::
$reader";
eval "use $module";
die $@ if $@;
if ( my $rfid = $module->new( device => '/dev/ttyUSB0' ) ) {