App-Transpierce

 view release on metacpan or  search on metacpan

lib/App/Transpierce.pm  view on Meta::CPAN


Both C<restore.sh> and C<deploy.sh> scripts copy each file back into their
original locations from the corresponding directory, then change their mode,
uid and gid back to what it was during the initialization. You might
B<require root permissions> to run those scripts, depending on files'
original locations and permissions.

C<diff.sh> script can be run to make sure file contents in C<restore> directory
do not differ from original files. It is recommended to do that before running
C<deploy.sh> script. If there are differences, it's possible that original
files were updated in the meantime and current working environment needs to be
initialized again.

=head2 Taking it with you

App::Transpierce was written with the ability to take it with you in mind. It
is fully compatible with perl 5.10.0, uses no non-core runtime dependencies and
is self-contained. You don't have to install the CPAN module on the target
server (which is often hard or impossible). You can instead install the module
locally, export the script and copy it into target server:



( run in 0.248 second using v1.01-cache-2.11-cpan-05444aca049 )