Rob Kinyon > DBM-Deep-1.0020 > upgrade_db.pl

Download:
DBM-Deep-1.0020.tar.gz

Annotate this POD

CPAN RT

New  6
Open  6
Stalled  3
View/Report Bugs
Source  

NAME ^

upgrade_db.pl

SYNOPSIS ^

  upgrade_db.pl -input <oldfile> -output <newfile>

DESCRIPTION ^

This will attempt to upgrade DB files from one version of DBM::Deep to another. The version of the input file is detected from the file header. The version of the output file defaults to the version of the distro in this file, but can be set, if desired.

OPTIONS ^

-input (required)

This is the name of original DB file.

-output (required)

This is the name of target output DB file.

-version

Optionally, you can specify the version of DBM::Deep for the output file. This can either be an upgrade or a downgrade. The minimum version supported is 0.91.

If the version is the same as the input file, this acts like a compressed copy of the database.

-autobless

In pre-1.0000 versions, autoblessing was an optional setting defaulting to false. Autobless in upgrade_db.pl defaults to true.

-help

Prints a brief help message, then exits.

-man

Prints a much longer message, then exits;

CAVEATS ^

The following are known issues with this converter.

MAINTAINER(S) ^

Rob Kinyon, rkinyon@cpan.org

Originally written by Rob Kinyon, rkinyon@cpan.org

LICENSE ^

Copyright (c) 2007 Rob Kinyon. All Rights Reserved. This is free software, you may use it and distribute it under the same terms as Perl itself.

syntax highlighting: