NAME

DiaColloDB::Compat - DiaColloDB utilities: compatibility modules: top-level wrappers

SYNOPSIS

##========================================================================
## PRELIMINARIES

use DiaColloDB::Compat;

##========================================================================
## Utilities

$bool = $that->usecompat($pkg);
\&dummyMethodCode = $that->nocompat($methodName);

DESCRIPTION

DiaColloDB::Compat is a top-level convenience package for limited (read-only) backwards-compatible access to outdated DiaColloDB data structures and file formats. By convention, individual compatibility wrappers for a DiaColloDB release with version <= X.Y.Z reside in the namespace DiaColloDB::Compat::vX_Y_Z, where the "_Z" suffix is omitted if it consists only of zeroes.

Globals

Variable: @ISA

DiaColloDB::Compat inherits from DiaColloDB::Logger.

Utilities

usecompat
$bool = $that->usecompat($pkg);

Attempts to "use DiaColloDB::Compat::$pkg", throwing an error on failure.

nocompat
\&dummyMethodCode = $that->nocompat($methodName);

Wrapper-generator for subclasses which do not implement some API methods.

AUTHOR

Bryan Jurish <moocow@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2016-2020 by Bryan Jurish

This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.

SEE ALSO

DiaColloDB::Compat::v0_09(3pm), DiaColloDB::Compat::v0_10(3pm), DiaColloDB(3pm), perl(1), ...