NAME

Code::Style::Kit::Parts::Common - commonly used features

VERSION

version 1.0.1

SYNOPSIS

package My::Kit;
use parent qw(Code::Style::Kit Code::Style::Kit::Parts::Common);
1;

Then:

package My::Module;
use My::Kit;

# you have strict, fatal warnings, Try::Tiny, Carp, true,
# namespace::autoclean, Log::Any

DESCRIPTION

This part defines a bunch of the features, all enabled by default:

strict

imports strict

try_tiny

imports Try::Tiny

carp

imports Carp

true

imports true

fatal_warnings

fatalizes the same warnings as use strictures 2;

log_any

imports the $log variable from Log::Any.

AUTHOR

Gianni Ceccarelli <gianni.ceccarelli@broadbean.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2019 by BroadBean UK, a CareerBuilder Company.

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