The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mac::PopClip::Quick::Role::BeforeAfter - add before and after actions

SYNOPSIS

    package Mac::PopClip::Quick::Generator;
    use Moo;
    with 'Mac::PopClip::Quick::Role::BeforeAfter';
    ...

DESCRIPTION

Configure the Before and After actions

after_action

What the extension should do after it's executed. By default it is a undefined value, indicating that it does nothing. If your script produces output you'll probably want to set this to paste-result. A full range of options that PopClip supports can be found at https://github.com/pilotmoon/PopClip-Extensions#user-content-before-and-after-keys

before_action

What the extension should do before it's executed. By default it is a undefined value, indicating that it does nothing. A full range of options that PopClip supports can be found at https://github.com/pilotmoon/PopClip-Extensions#user-content-before-and-after-keys

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Mark Fowler.

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

SEE ALSO

Mac::PopClip::Quick is the main public interface to this module.

This role is consumed by Mac::PopClip::Quick::Generator.