| Template-Patch documentation | view source | Contained in the Template-Patch distribution. |
Template::Patch - Apply parameterized patches
$ metapatch --patch mychanges.mp < oldfile > newfile
# or, programmatically:
use Template::Patch;
my $tp = Template::Patch->parse_patch_file($metapatch_file);
$tp->extract($source);
$tp->patch;
$tp->print;
Please see metapatch for documentation. This module is experimental and the API here is subject to change.
This isn't very streamlined yet, and is subject to change.
Gaal Yahas, <gaal at forum2.org>
This module and the included metapatch tool are in early stages of
gathering ideas and coming up with a good interface. They work (and have
saved me time), but expect change in the interfaces.
Please report any bugs or feature requests to
bug-template-patch at rt.cpan.org, or through the web interface at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Template-Patch.
I will be notified, and then you'll automatically be notified of progress on
your bug as I make changes.
You can find documentation for this module with the perldoc command.
perldoc Template::Patch
You can also look for information at:
Thanks to Audrey Tang for sausage machine (and general) havoc.
Copyright 2006 Gaal Yahas, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Template-Patch documentation | view source | Contained in the Template-Patch distribution. |