NAME

Perl::Critic::RENEEB - A collection of handy Perl::Critic policies

VERSION

version 2.05

SYNOPSIS

Perl::Critic::RENEEB is a collection of Perl::Critic policies that is used in my programming environment

DESCRIPTION

The rules included with the Perl::Critic::RENEEB group include:

Perl::Critic::Policy::RegularExpressions::RequireExtendedFormattingExceptForSplit

I use split with regular expressions regularly, but I don't want to use the x-modifier there. So I wrote this policy to check all regular expressions in my programs but those used as a parameter to split.

Perl::Critic::Policy::Reneeb::ProhibitBlockEval

Use try{...} from Try::Tiny instead of eval{...}.

Perl::Critic::Policy::Reneeb::Capitalization

Checks for capitalization of package names, subroutines, etc. It's a subclass of Perl::Critic::Policy::NamingConventions::Capitalization, but it adds the parameter full_qualified_package_exemptions to exclude packages by "full qualified namespace".

full_qualified_package_exemptions = Test::Command::.*

excludes all packages in the Test::Command:: namespace from the check.

Perl::Critic::Policy::Reneeb::ProhibitGrepToGetFirstFoundElement

Use List::Utils 'first' instead of grep if you want to get the first found element

Perl::Critic::Policy::Reneeb::RequirePostderef

Use postderef (e.g. $ref->@*) instead of the "old" dereferencing (e.g. @{$ref})

AUTHOR

Renee Baecker <reneeb@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2015 by Renee Baecker.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)