++ed by:

1 non-PAUSE user.

Lance Wicks
and 1 contributors

NAME

Perl::Critic::Policy::Perlsecret - Prevent perlsecrets entering your codebase

VERSION

version 0.0.11

SYNOPSIS

    # in your .perlcriticrc
    [Perlsecret]

    # overriding things
    [Perlsecret]
    allow_secrets = Bang Bang, Venus

DESCRIPTION

This policy checks for perlsecret operators in your code and warns you about them.

You can override the secrets that are allowed or disallowed using the parameters allow_secrets and disallow_secrets. The default is to simply disallow everything.

Notice the secrets are capitalized correctly ("Ornate Double-Bladed Sword", not "Ornate double-bladed sword").

    [Perlsecret]
    disallow_secrets = Flathead, Phillips, Pozidriv, Torx, Enterprise

This provides the list to disallow.

    [Perlsecret]
    allow_secrets = Bang Bang

You can provide both, in which case it will start with the disallow list you provided as the default and then allow everything in the allow list. (There isn't much value to provide both of these.)

NAME

Perl::Critic::Policy::Perlsecret - Prevent perlsecrets entering your codebase

VERSION

version 0.0.11

AUTHOR

Lance Wicks <lancew@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2017 by Lance Wicks.

This is free software, licensed under:

  The GNU General Public License, Version 3, June 2007