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:
92816d9
)
use RFID::Biblio::Readers->new
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 6 Aug 2010 15:41:29 +0000
(17:41 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 6 Aug 2010 15:41:29 +0000
(17:41 +0200)
scripts/RFID-JSONP-server.pl
patch
|
blob
|
history
diff --git
a/scripts/RFID-JSONP-server.pl
b/scripts/RFID-JSONP-server.pl
index
176d7e6
..
f374bd4
100755
(executable)
--- a/
scripts/RFID-JSONP-server.pl
+++ b/
scripts/RFID-JSONP-server.pl
@@
-33,8
+33,8
@@
GetOptions(
use lib 'lib';
use RFID::Biblio::RFID501;
use RFID::Biblio::Readers;
-my $rfid =
(RFID::Biblio::Readers->available( $reader ))[0]; # FIXME
-warn "using
$rfid reader\n"
;
+my $rfid =
RFID::Biblio::Readers->new( shift @ARGV );
+warn "using
readers: ",dump( $rfid->_available )
;
my $index_html;
{