---
name: "Biblio::RFID::Reader"
section: "3pm"
platform: "linux"
package: "libbiblio-rfid-perl"
version: "0.05-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Biblio::RFID::Reader"
---

# Biblio::RFID::Reader(3pm)

simple way to write RFID applications in perl

## NAME

Biblio::RFID::Reader - simple way to write RFID applications in perl

## DESCRIPTION

This module will probe all available readers and use calls from Biblio::RFID::Reader::API to invoke correct reader.

## FUNCTIONS

### new

```
  my $rfid = Biblio::RFID::Reader->new( 'optional reader filter' );
```

### tags

```
  my @visible = $rfid->tags(
                enter => sub { my $tag = shift; },
                leave => sub { my $tag = shift; },
                reader => sub { my $reader = shift; ref($reader) =~ m/something/ },
  );
```

### blocks

```
  my $blocks_arrayref = $rfid->blocks( $tag );
```

### afi

```
  my $afi = $rfid->afi( $tag );
```

### to\_hash

```
  $self->to_hash( $tag );
```

### debug

```
  $self->debug(1); # or more
```

### from\_reader

```
  my $reader = $self->from_reader( $tag );
```

## PRIVATE

### \_invalidate\_tag

```
  $rfid->_invalidate_tag( $tag );
```

### \_available

Probe each RFID reader supported and returns succefull ones

```
  my $rfid_readers = Biblio::RFID::Reader->_available( $regex_filter );
```

## AUTOLOAD

On any other function calls, we just marshall to all readers

## SEE ALSO

### RFID reader implementations

Biblio::RFID::Reader::3M810

Biblio::RFID::Reader::CPRM02

Biblio::RFID::Reader::librfid
