==================
Text::Modify
==================
NAME
Text::Modify - interface for simple (and oo-style) text-file manipulation
Text::Buffer - simple text buffer that supports basic edit functionality
DESCRIPTION
Text::Modify uses rules to process a buffer of textlines. Text::Buffer
is used for the required editing functionalities for the text to process.
A set of simple rules is used with some advanced functionality, which
should suit the most common use cases of text file modification tasks.
DEPENDENCIES
No dependencies
INSTALLATION
To compile, test and install use:
perl Build.PL
./Build.PL
./Build.PL test
./Build.PL install
or the old method:
perl Makefile.PL
make
make test
make install
Make sure the last step (install) is executed with the appropriate privileges.
CHANGES
See the CHANGES file for more details
TODO / WISHLIST
Some ideas for improvements are:
- Allow wildcard search and replaces
- Better seperation of string and regex search and replaces
(suggested by Terence Brannon)
e.g. $txt->replace( string => "foo", with => "bar")
- Using buffer and stringops like in emacs (suggested by Terence Brannon)
COPYRIGHT
Copyright (C) 2004, 2005 by Roland Lammel <lammel@cpan.org>.
All rights reserved. You can redistribute and/or modify
this bundle under the same terms as Perl itself.
<www.gnu.org/copyleft/gpl.html>
AUTHOR
Roland Lammel (lammel@cpan.org)