Text::Diff3::Base - Text::Diff3 component's base class
0.08
package Text::Diff3::COMPONENT; use base qw(Text::Diff3::Base); __PACKAGE__->mk_attr_accessor(qw(attr1_name attr2_name));
This module is the base class for all Text::Diff3 components.
$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.
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.
MIZUTANI Tociyuki <tociyuki@gmail.com>.
<tociyuki@gmail.com>
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.
To install Text::Diff3, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Diff3
CPAN shell
perl -MCPAN -e shell install Text::Diff3
For more information on module installation, please visit the detailed CPAN module installation guide.