X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=lib%2FRFID%2FBiblio%2FRFID501.pm;fp=lib%2FRFID%2FBiblio%2FRFID501.pm;h=a6eb2d52893d98245713d62f41f75d596caec642;hb=87547db2ed75fa939f2ebf66f817dfc2b467d30f;hp=7d66e30fb95491f5e8b1c1cd5f858343afcc33e1;hpb=b0fe913dc473889c150c1b95c2b0a1f44c2961ed;p=Biblio-RFID.git 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 = {