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:
7d08d49
)
document helper functions
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 26 Jul 2010 18:41:21 +0000
(20:41 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 26 Jul 2010 18:41:21 +0000
(20:41 +0200)
lib/RFID/Serial.pm
patch
|
blob
|
history
diff --git
a/lib/RFID/Serial.pm
b/lib/RFID/Serial.pm
index
82e1c61
..
e30f363
100644
(file)
--- a/
lib/RFID/Serial.pm
+++ b/
lib/RFID/Serial.pm
@@
-78,6
+78,8
@@
Formatting functions are exported
=head2 hex2bytes
+ my $bytes = hex2bytes($hex);
+
=cut
sub hex2bytes {
@@
-92,6
+94,12
@@
sub hex2bytes {
return $bytes;
}
+=head2 as_hex
+
+ print as_hex( $bytes );
+
+=cut
+
sub as_hex {
my @out;
foreach my $str ( @_ ) {