centos man page for perl::critic::policy::codelayout::requireconsistentnewlines

Query: perl::critic::policy::codelayout::requireconsistentnewlines

OS: centos

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Perl::Critic::Policy::CodeLayout::RequireConsistentNewliUser3Contributed Perl DocumePerl::Critic::Policy::CodeLayout::RequireConsistentNewlines(3)

NAME
Perl::Critic::Policy::CodeLayout::RequireConsistentNewlines - Use the same newline through the source.
AFFILIATION
This Policy is part of the core Perl::Critic distribution.
DESCRIPTION
Source code files are divided into lines with line endings of " ", " " or " ". Mixing these different line endings causes problems in many text editors and, notably, Module::Signature and GnuPG.
CAVEAT
This policy works outside of PPI because PPI automatically normalizes source code to local newline conventions. So, this will only work if we know the filename of the source code.
CONFIGURATION
This Policy is not configurable except for the standard options.
AUTHOR
Chris Dolan <cdolan@cpan.org>
COPYRIGHT
Copyright (c) 2006-2011 Chris Dolan. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.16.3 2014-06-09 Perl::Critic::Policy::CodeLayout::RequireConsistentNewlines(3)
Related Man Pages
perl::critic::policy::codelayout::requireascii(3) - centos
perl::critic::policy::codelayout::prohibithardtabs(3) - centos
perl::critic::policy::codelayout::prohibithardtabs(3pm) - debian
perl::critic::policy::codelayout::requiretrailingcommas(3pm) - debian
perl::critic::policy::modules::requireendwithone(3pm) - debian
Similar Topics in the Unix Linux Community
Weird 'find' results
DB2 convert digits to binary format
CentOS 6 ran out of space, need to reclaim it
[TIP] Processing YAML files with yq
Please Welcome Dave Munro to the Moderator Team!