NAME
    monkeypatch - Monkeypatch your Perl code on the command-line

VERSION
    This document describes version 0.001 of monkeypatch (from Perl
    distribution monkeypatch), released on 2017-07-18.

SYNOPSIS
    On the command-line:

     % perl -Monkeypatch=Your::Package::foo,delete yourscript.pl ...
     % perl -Monkeypatch=Your::Package::foo,add,'some code' yourscript.pl ...
     % perl -Monkeypatch=Your::Package::foo,replace,'some code' yourscript.pl ...
     % perl -Monkeypatch=Your::Package::foo,add_or_replace,'some code' yourscript.pl ...
     % perl -Monkeypatch=Your::Package::foo,wrap,'my $ctx = shift; some code; $ctx->{orig}(@_)' yourscript.pl ...
     % perl -Monkeypatch=Your::Package::foo,before,'some code' yourscript.pl ...
     % perl -Monkeypatch=Your::Package::foo,after,'some code' yourscript.pl ...

DESCRIPTION
    This is basically just a convenient way to use Monkey::Patch::Action
    from the command-line.

HOMEPAGE
    Please visit the project's homepage at
    <https://metacpan.org/release/monkeypatch>.

SOURCE
    Source repository is at <https://github.com/perlancar/perl-monkeypatch>.

BUGS
    Please report any bugs or feature requests on the bugtracker website
    <https://rt.cpan.org/Public/Dist/Display.html?Name=monkeypatch>

    When submitting a bug or request, please include a test-file or a patch
    to an existing test-file that illustrates the bug or desired feature.

SEE ALSO
    Monkey::Patch::Action

AUTHOR
    perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE
    This software is copyright (c) 2017 by perlancar@cpan.org.

    This is free software; you can redistribute it and/or modify it under
    the same terms as the Perl 5 programming language system itself.