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

MouseX::Getopt::Strict - Only process options with Getopt metaclass

SYNOPSIS

    package MyApp;
    use Mouse;

    with 'MouseX::Getopt::Strict';

    has 'data' => (
        metaclass => 'Getopt',
        is        => 'rw',
        isa       => 'Str',
    );

DESCRIPTION

This module is a stricter version of MouseX::Getopt. This module only processes the attributes which set Getopt metaclass explicitly. All other attributes are ignored.

AUTHOR

NAKAGAWA Masaki <masaki@cpan.org>

LICENSE

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