Template::Patch - Apply parameterized patches


Template-Patch documentation  | view source Contained in the Template-Patch distribution.

Index


NAME

Top

Template::Patch - Apply parameterized patches

SYNOPSIS

Top

    $ 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;

DESCRIPTION

Top

Please see metapatch for documentation. This module is experimental and the API here is subject to change.

FUNCTIONS

Top

This isn't very streamlined yet, and is subject to change.

SEE ALSO

Top

metapatch
Template::Toolkit
Template::Extract

AUTHOR

Top

Gaal Yahas, <gaal at forum2.org>

CAVEATS

Top

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.

BUGS

Top

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.

SUPPORT

Top

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

    perldoc Template::Patch

You can also look for information at:

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/Template-Patch

* CPAN Ratings

http://cpanratings.perl.org/d/Template-Patch

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=Template-Patch

* Search CPAN

http://search.cpan.org/dist/Template-Patch

ACKNOWLEDGEMENTS

Top

Thanks to Audrey Tang for sausage machine (and general) havoc.

COPYRIGHT & LICENSE

Top


Template-Patch documentation  | view source Contained in the Template-Patch distribution.