From 87547db2ed75fa939f2ebf66f817dfc2b467d30f Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Sun, 1 Aug 2010 15:26:57 +0200 Subject: [PATCH] document all methods --- lib/RFID/Biblio/RFID501.pm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 = { -- 2.20.1