document helper functions
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 26 Jul 2010 18:41:21 +0000 (20:41 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 26 Jul 2010 18:41:21 +0000 (20:41 +0200)
lib/RFID/Serial.pm

index 82e1c61..e30f363 100644 (file)
@@ -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 ( @_ ) {