Name

Module::Provision::TraitFor::UpdatingContent - Perform search and replace on project file content

Synopsis

use Moose;

extends 'Module::Provision::Base';
with    'Module::Provision::TraitFor::UpdatingContent';

Version

This documents version v0.10.$Rev: 1 $ of Module::Provision::TraitFor::UpdatingContent

Description

Perform search and replace on project file content

Configuration and Environment

Requires the following attributes to be defined in the consuming class; appldir

Defines no attributes

Subroutines/Methods

$exit_code = $self->update_copyright_year;

Substitutes the existing copyright year for the new copyright year in all files in the MANIFEST

update_version

$exit_code = $self->update_version;

Substitutes the existing version number for the new version number in all files in the MANIFEST

Diagnostics

None

Dependencies

Moose::Role

Incompatibilities

There are no known incompatibilities in this module

Bugs and Limitations

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

Acknowledgements

Larry Wall - For the Perl programming language

Author

Peter Flanigan, <pjfl@cpan.org>

License and Copyright

Copyright (c) 2013 Peter Flanigan. All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic

This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE