The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Business::BancaSella::Ric::FileFast - Extract One-Time-Password from an improved ASCII file

SYNOPSIS

  use Business::BancaSella::Ric;
  
  my $ric = new Business::BancaSella::Ric::FileFast(file => 'filePath/filename.ric');
  my $otp = $ric->extract;

DESCRIPTION

This module extract an One-Time-Password from an ASCII file. The file isn't in the standard Banca Sella ASCII file but in an improved version that you can create using prepare(source_file) method where source_file is the original standard Banca Sella ASCII file. This object is more faster in search and extract than Business::BancaSella::Ric::File.

METHODS

file()

Set or get the file path where are stored One-Time passwords.

extract()

Return and delete the first OTP from the file.

prepare(source_file)

Format and correctly append passwords from a standard Banca Sella Ric file into output file.

AUTHOR

Marco Gazerro <gazerro@open2b.com>

SEE ALSO

Business::BancaSella::Ric::File Business::BancaSella::Ric::Mysql