perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign - Use tabs for indenting, spaces for aligning

Distribution: ALT Linux Sisyphus
Repository: Autoimports noarch
Package name: perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign
Package version: 1.1.0
Package release: alt1
Package architecture: noarch
Package type: rpm
Installed size: 28.84 KB
Download size: 28.84 KB
Official Mirror:
Hard tabs are a perfectly fine way to indent code for accessibility and usability purposes, allowing different users to tweak indentation settings to suit their needs and habits. However, hard tabs should not be used for formatting / aligning, as this makes the display dependent on the tab-to-space ratio of the user. `Perl/Critic/Policy/CodeLayout/ProhibitHardTabs' has a setting that allows leading tabs, but this not not fully represent the paradigm where tabs are reserved for indenting and spaces for formatting/aligning. In particular, it does not prevent indenting with spaces, while this module detects and prevents it. This Policy examines your source code, including POD, quotes, and HEREDOCs. The contents of the `__DATA__' section are not examined.


  • perl(Perl/Critic/Policy/CodeLayout/ = 1.001
  • perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign = 1.1.0-alt1

    Install Howto

    1. Add the following line to /etc/apt/sources.list:
      rpm [Sisyphus] noarch autoimports
      rpm [Sisyphus] noarch autoimports
    2. Update the package index:
      # sudo apt-get update
    3. Install perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign rpm package:
      # sudo apt-get install perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign


    • /usr/share/doc/perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign-1.1.0/Changes
    • /usr/share/doc/perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign-1.1.0/LICENSE
    • /usr/share/doc/perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign-1.1.0/
    • /usr/share/doc/perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign-1.1.0/ignore.txt
    • /usr/share/doc/perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign-1.1.0/examples/examples.txt
    • /usr/share/perl5/Perl/
    • /usr/share/perl5/Perl/Critic/
    • /usr/share/perl5/Perl/Critic/Policy/
    • /usr/share/perl5/Perl/Critic/Policy/CodeLayout/