NAME

ScriptX::Run - Run something (code, command) in the 'run' event

VERSION

This document describes version 0.000004 of ScriptX::Run (from Perl distribution ScriptX), released on 2020-10-01.

DESCRIPTION

SCRIPTX PLUGIN CONFIGURATION

code

Code. Optional.

Code will get the plugin's instance as the first argument and stash as the second:

($self, $stash)

command

Any. Optional.

Will be run using IPC::System::Options's system. Note that you can pass options to IPC::System::Option via hashref as the first element in the array argument, for example:

[{die=>1, log=>1}, 'ls']

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/ScriptX.

SOURCE

Source repository is at https://github.com/perlancar/perl-ScriptX.

BUGS

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

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.

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2020 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.