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.
FetchrowHashref
DBI
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
Martin Edenhofer for creating a great tool like OTRS
Martin Gruner for improvements for this module
Michiel Beijen for improvements for this module
Ramanan Balakrishnan for fixing test failures
To install Perl::Critic::OTRS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perl::Critic::OTRS
CPAN shell
perl -MCPAN -e shell install Perl::Critic::OTRS
For more information on module installation, please visit the detailed CPAN module installation guide.