From: Dobrica Pavlinusic Date: Sun, 1 Aug 2010 13:26:57 +0000 (+0200) Subject: document all methods X-Git-Tag: RFID-Biblio-0.02~96 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;ds=sidebyside;h=87547db2ed75fa939f2ebf66f817dfc2b467d30f;p=Biblio-RFID.git document all methods --- diff --git a/lib/RFID/Biblio/RFID501.pm b/lib/RFID/Biblio/RFID501.pm index 7d66e30..a6eb2d5 100644 --- a/lib/RFID/Biblio/RFID501.pm +++ b/lib/RFID/Biblio/RFID501.pm @@ -59,12 +59,20 @@ L =head1 METHODS -=head2 decode_tag +=head2 to_hash my $hash = RFID::Biblio::Decode::RFID501->to_hash( $bytes ); my $hash = RFID::Biblio::Decode::RFID501->to_hash( [ 'blk1', 'blk2', ... , 'blk7' ] ); +=head2 from_hash + + my $blocks = RFID::Biblio::Decode::RFID->from_hash( $hash ); + +=head2 blank + + my $blocks = RFID::Biblio::Decode::RFID->blank; + =cut my $item_type = {