Perl::Critic::OTRS - A collection of handy Perl::Critic policies
version 0.09
Perl::Critic::OTRS is a collection of Perl::Critic policies that will help to program in the OTRS way of programming
The rules included with the Perl::Critic::OTRS group include:
Kernel::System::DB provides a method called FetchrowHashref
, but this method
is deprecated as this relies on DBI
's fetchrow_hashref. Some users have
reported problems with it on some database systems.
The policies bundled in this distributions represent the coding guideline provided by the OTRS project. It's always a good idea to program the way the project itself does.
So every programmer who is familiar with the OTRS codebase can read and follow your code.
Thanks to
The distribution is contained in a Git repository, so simply clone the repository
$ git clone http://github.com/reneeb/Perl-Critic-OTRS.git
and change into the newly-created directory.
$ cd Perl-Critic-OTRS
The project uses Dist::Zilla
to
build the distribution, hence this will need to be installed before
continuing:
$ cpanm Dist::Zilla
To install the required prequisite packages, run the following set of commands:
$ dzil authordeps --missing | cpanm
$ dzil listdeps --author --missing | cpanm
The distribution can be tested like so:
$ dzil test
To run the full set of tests (including author and release-process tests),
add the --author
and --release
options:
$ dzil test --author --release
Renee Baecker info@perl-services.de
This software is Copyright (c) 2013 by Renee Baecker.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)