Author image Jeremy Squires
and 1 contributors

NAME

App::IniDiff::IniFile - perl module to diff and patch .ini files

VERSION

Version 0.19

DESCRIPTION

IniFile.pm - perl module to diff and patch .ini files

SYNOPSIS

This file contains the following:

  • package App::IniDiff::IniFile;

  • package App::IniDiff::IniFile::Field;

  • package App::IniDiff::IniFile::Key;

  • package App::IniDiff::IniFile::Filter;

Creates the following data structure:

    {
        'nextOrderId' => some-number,
        'keys' => {
          {
            'name' => "...",
            'orderId' => some number,
            'fields' => [
                {
                    'name' => "..."
                    'value' => "...",
                    'deleted' => 0 or 1,
                    'annotation' => "...",
                },
                ...
                ],
            'deleted' => 0 or 1,
            'annotation' => "...",
            },
            ...
        },
    }
  • 'orderId' is used to preserve the order in which keys appear in a file.

  • 'annotation' is used to decorate inidiff output.

  • 'deleted' is used when generating, writing, reading, and applying patch files.

Some terms used differ from what is normally used in WinINI file-speak

  • 'key' is INI 'section'

  • 'field' is INI 'entry'

  • 'field name' is INI 'key'

  • 'field value' is INI 'value'

AUTHOR

    Michael Rendell, Memorial University of Newfoundland

MAINTAINERS

    Jeremy Squires <j.squires at computer.org>

SOURCE

ACKNOWLEDGEMENTS

    Michael Rendell, Memorial University of Newfoundland
    produced the first version of the Regutils package from which
    this package was derived.

BUGS

Please report any bugs or feature requests to bug-app-inidiff-inifile at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=App-IniDiff-IniFile. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc App::IniDiff::IniFile

You can also look for information at:

LICENSE AND COPYRIGHT

This software is Copyright (c) 1998 Memorial University of Newfoundland

This is free software, licensed under:

The GNU General Public License, Version 3, July 2007

See LICENSE