The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

ScriptX::ModifyPlugin - Modify the loading (activation) of another plugin

VERSION

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

SYNOPSIS

use ScriptX ModifyPlugin => {
    plugin => 'Getopt::Long',
    add_or_modify_args => {
        abort_on_failure => 0,
    },
};

DESCRIPTION

This plugin can modify the loading of other plugins, e.g. the arguments passed to plugin constructor.

SCRIPTX PLUGIN CONFIGURATION

add_args

Hash. Optional. List of arguments to add (if they were not specified).

add_or_modify_args

Hash. Optional. List of arguments to add or modify.

delete_args

Array. Optional. List of arguments to delete.

modify_args

Hash. Optional. List of arguments to modify (if they were specified).

plugin

Str. Required. Plugin name to be modified.

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.