DiaColloDB::Upgrade::v0_12_sliceN - DiaColloDB utilities: auto-magic upgrade: v0.11.x -> v0.12.x: allow slice-wise N
##======================================================================== ## PRELIMINARIES use DiaColloDB::Upgrade::v0_12_sliceN; ##======================================================================== ## API $version = $CLASS_OR_OBJECT->toversion(); $bool = $CLASS_OR_OBJECT->upgrade(); ##======================================================================== ## Backup & Revert $bool = $up->backup(); @files = $up->revert_created(); @files = $up->revert_updated();
$version = $CLASS_OR_OBJECT->toversion();
returns default target version; default just returns $DiaColloDB::VERSION
$bool = $CLASS_OR_OBJECT->upgrade();
performs upgrade
$bool = $up->backup();
perform backup any files we expect to change to $up->backupdir()
@files = $up->revert_created();
returns list of files created by this upgrade, for use with default revert() implementation
@files = $up->revert_updated();
returns list of files updated by this upgrade, for use with default revert() implementation
Bryan Jurish <moocow@cpan.org>
Copyright (C) 2017-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.
dcdb-create.per(1), dcdb-query.perl(1), dcdb-info.perl(1), dcdb-export.perl(1), dcdb-dump.perl(1), DiaColloDB(3pm), perl(1), ...
To install DiaColloDB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DiaColloDB
CPAN shell
perl -MCPAN -e shell install DiaColloDB
For more information on module installation, please visit the detailed CPAN module installation guide.