NAME
Mac::PopClip::Quick::Role::PerlScript - create the modified perl script
SYNOPSIS
package Mac::PopClip::Quick::Generator;
use Moo;
with 'Mac::PopClip::Quick::Role::PerlScript';
...
DESCRIPTION
Attributes that create the modified Perl Script
src_filename
The filename containing a script that should be bundled into the extension and executed when the extension is run.
src
The source of the script that should be bundled into the extension and executed when the extension is run.. If not provided then src_filename
must be provided and the source will be read from there.
filtered_src
The filtered source of the script. If not provided then src
will be processed to create this.
Essentially this is exactly the same as the original src, but altered so that any attempt to use Mac::PopClip::Quick isn't executed (thus avoiding a dependency on this module in the resulting extensions) and manually adding the popclip_text
function definition to the source code.
script_interpreter
The program you want to use to execute your Perl script (it can be handy to set this if you want to use a perl other than the system perl, e.g. a perl you installed with perlbrew)
By default this is /usr/bin/perl
, the system perl.
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.