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

NAME

Mixin::Historian::Driver::Array - a driver that stores history in an in-memory array (for testing)

VERSION

version 0.102001

DESCRIPTION

This driver, meant primarily for testing, logs history events as hashrefs in an in-memory arrayref stored in the driver.

The events may accessed by the driver's entries method, and are returned as a list of hashrefs in the form:

  {
    time   => $epoch_seconds,
    record => $hashref_passed_to_add_history,
  }

PERL VERSION

This library should run on perls released even a long time ago. It should work on any version of perl released in the last five years.

Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl.

AUTHOR

Ricardo Signes <cpan@semiotic.systems>

COPYRIGHT AND LICENSE

This software is copyright (c) 2022 by Ricardo Signes.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.