MIZUTANI, Tociyuki

NAME

Text::Diff3::Base - Text::Diff3 component's base class

VERSION

0.08

SYNOPSIS

    package Text::Diff3::COMPONENT;
    use base qw(Text::Diff3::Base);
    
    __PACKAGE__->mk_attr_accessor(qw(attr1_name attr2_name));

DESCRIPTION

This module is the base class for all Text::Diff3 components.

METHODS

$factory_name->new($factory_name => @arg)

creates an instance of COMPONENT with the initialize method.

$component->factory

is an attribute to hold factory class name.

$component->initialize($factory_name => @arg)

is the default initializer for components. This sets passed name into the factory attribute.

$component->mk_attr_accessor(qw(attr1_name attr2_name))

declares attribute accessors in package.

COMPATIBILITY

Use new function style interfaces introduced from version 0.08. This module remained for backward compatibility before version 0.07. This module is no longer maintenance after version 0.08.

AUTHOR

MIZUTANI Tociyuki <tociyuki@gmail.com>.

LICENSE AND COPYRIGHT

Copyright (C) 2010 MIZUTANI Tociyuki

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.