Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

perl::critic::policy::codelayout::requiretidycode(3pm) [debian man page]

Perl::Critic::Policy::CodeLayout::RequireTidyCode(3pm)	User Contributed Perl Documentation Perl::Critic::Policy::CodeLayout::RequireTidyCode(3pm)

NAME
Perl::Critic::Policy::CodeLayout::RequireTidyCode - Must run code through perltidy. AFFILIATION
This Policy is part of the core Perl::Critic distribution. DESCRIPTION
Conway does make specific recommendations for whitespace and curly-braces in your code, but the most important thing is to adopt a consistent layout, regardless of the specifics. And the easiest way to do that is to use Perl::Tidy. This policy will complain if you're code hasn't been run through Perl::Tidy. CONFIGURATION
This policy can be configured to tell Perl::Tidy to use a particular perltidyrc file or no configuration at all. By default, Perl::Tidy is told to look in its default location for configuration. Perl::Critic can be told to tell Perl::Tidy to use a specific configuration file by putting an entry in a .perlcriticrc file like this: [CodeLayout::RequireTidyCode] perltidyrc = /usr/share/perltidy.conf As a special case, setting "perltidyrc" to the empty string tells Perl::Tidy not to load any configuration file at all and just use Perl::Tidy's own default style. [CodeLayout::RequireTidyCode] perltidyrc = SEE ALSO
Perl::Tidy AUTHOR
Jeffrey Ryan Thalhammer <jeff@imaginative-software.com> COPYRIGHT
Copyright (c) 2005-2011 Imaginative Software Systems. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license can be found in the LICENSE file included with this module. perl v5.14.2 2012-06-07 Perl::Critic::Policy::CodeLayout::RequireTidyCode(3pm)

Check Out this Related Man Page

Perl::Critic::Policy::CodeLayout::RequireTidyCode(3)	User Contributed Perl Documentation   Perl::Critic::Policy::CodeLayout::RequireTidyCode(3)

NAME
Perl::Critic::Policy::CodeLayout::RequireTidyCode - Must run code through perltidy. AFFILIATION
This Policy is part of the core Perl::Critic distribution. DESCRIPTION
Conway does make specific recommendations for whitespace and curly-braces in your code, but the most important thing is to adopt a consistent layout, regardless of the specifics. And the easiest way to do that is to use Perl::Tidy. This policy will complain if you're code hasn't been run through Perl::Tidy. CONFIGURATION
This policy can be configured to tell Perl::Tidy to use a particular perltidyrc file or no configuration at all. By default, Perl::Tidy is told to look in its default location for configuration. Perl::Critic can be told to tell Perl::Tidy to use a specific configuration file by putting an entry in a .perlcriticrc file like this: [CodeLayout::RequireTidyCode] perltidyrc = /usr/share/perltidy.conf As a special case, setting "perltidyrc" to the empty string tells Perl::Tidy not to load any configuration file at all and just use Perl::Tidy's own default style. [CodeLayout::RequireTidyCode] perltidyrc = SEE ALSO
Perl::Tidy AUTHOR
Jeffrey Ryan Thalhammer <jeff@imaginative-software.com> COPYRIGHT
Copyright (c) 2005-2011 Imaginative Software Systems. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license can be found in the LICENSE file included with this module. perl v5.16.3 2014-06-09 Perl::Critic::Policy::CodeLayout::RequireTidyCode(3)
Man Page

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Best place on the net to get Perl tutorials ?

I am looking for a full Perl course on internet (tutorial) to learn everything about Perl. I already know a bunch of programing languages. I have started Unix interests this year ever since I installed Ubuntu Linux on my PC AND I also got a job at IBM doing software distributions with... (1 Reply)
Discussion started by: Browser_ice
1 Replies

2. UNIX for Dummies Questions & Answers

???

What do u do here?my cousin told me to check this out but im not sure what im doing :confused: :( camron if your on please help me!!!!!!!!!!!!!!! (1 Reply)
Discussion started by: gpbg
1 Replies

3. UNIX for Advanced & Expert Users

Wipe software for Hp-ux

I am looking for recommendations on DOD compliante software to wipe disk on HP-UX. Any recommendations would be appreciated. Thank you in advance for any assistance provided. (1 Reply)
Discussion started by: jim15800
1 Replies

4. UNIX for Dummies Questions & Answers

Reflections software

Hi Guys, I am looking for a terminal emulation software to work on some Unix servers, I was told that Reflections works good, I am using Putty now, but I was told Reflections has the option to run some jobs on Macros (not scripts) is this right? also is this freeware? if not freeware, any one... (2 Replies)
Discussion started by: sqloyd
2 Replies

5. Programming

how to write a sub in Perl

hi, i am a really new to Perl. i have a following code that is working well. " i know this is really simple, but i cant figure out a way to do this. can someone help me please?:( (1 Reply)
Discussion started by: usustarr
1 Replies

6. OS X (Apple)

rm -f a text file separated by \n

Hello guys, this is my first post here. Before I reformated my Time Machine Backups drive, I copied several thousands of files to another drive. After using "Tidy Up!" I constantly had errors telling me I didn't have enough privileges to erase duplicate files. I tried everything I could. Using... (4 Replies)
Discussion started by: aficiomaquinas
4 Replies

7. Shell Programming and Scripting

Need Suggestions to improve Perl script for checking malformed braces/brackets

Hi all, I've written a Perl script below that check and report for malformed braces. I have a UNIX ksh version and it took a couple of minutes to run on a 10000+ lines. With the Perl version it only took about 20 seconds so that is enough incentive for me to go Perl not to mention that I need... (1 Reply)
Discussion started by: newbie_01
1 Replies

8. Shell Programming and Scripting

Help understanding some Perl code.

Well, I found myself trying to fix some Perl code (Ive never done any Perl in my life) and I pinpointed the place where the bug could be. But to be sure I have to know what does a few line of code mean: $files_lim =~ (/^\d*$/) $files_lim =~ (/^\d*h$/) $files_age =~ s/h// The code where... (2 Replies)
Discussion started by: RedSpyder
2 Replies

9. Shell Programming and Scripting

Perl Methods Calling

Hello I am on my way to improve my wonderful Perl skills, I got an issue which I want to share with you all. I have a Perl module which looks like package Cocoa; require Exporter; @ISA = qw(Exporter); my $a=''; my $b=''; my $c=''; sub new { my $this = shift; # Create... (8 Replies)
Discussion started by: adisky123
8 Replies

10. Programming

Perl: How to load some functions automaticaly, starting Perl inteructively (with -d -e 0)?

I would like to use Perl in 'interactive' mode (kind off), starting it by > perl -d -e 0; But I need to have some function be read on loading. Also, it should not be for anyone who starting Perl or use it any how. I did try to search, but not much result. I have try a file '.perldb':... (1 Reply)
Discussion started by: alex_5161
1 Replies