perl-tidy Questions
2
Solved
To my knowledge, perltidy is extremely handy and helpful when it comes to code formatting. However, I haven't found a way to fine-tune perltidy. For example, I need the && and || formatted ...
4
I'm using Eclipse combined with EPIC to write my Perl code. I configured EPIC to use Perltidy with "-pbp" (perl best practices style) to format my code.
This doesn't work well when using Method::S...
Gormless asked 9/10, 2010 at 6:33
2
Solved
How can I prevent PerlTidy from aligning assignments but keep adding single spaces?
This question is similar to How can I prevent PerlTidy from aligning my assignments? but I would like single spa...
5
Solved
A cat at my company walked over a keyboard and has left a valid 1000+ line of executable Perl code for me to maintain.
Thanks to Perl's TMTOWTDI philosophy I find myself searching Google to make s...
Sideboard asked 16/10, 2010 at 8:3
2
Solved
I have the following code snippet:
my $obj = $class->new({
schema => $schema,
reminder => $reminder,
action => $action,
dt => $dt,
});
My problem is, that perltidy tries to ...
Lorilee asked 4/1, 2014 at 10:56
1
Solved
This question is not so much technical than looking for advise to find the proper approach that will not hurt.
Assuming the following:
We have a big application developed in Perl.
We want to sta...
Sarcastic asked 18/8, 2015 at 21:39
1
Solved
Is there a straightforward way to configure Perl::Tidy so that it handles correctly custom keywords created with Devel::Declare?
Specifically, I am using Sub::Curried, which creates a keyword curr...
Divot asked 23/5, 2014 at 18:2
3
How can I configure perltidy to format long if statements like this:
if (
('this is an example' =~ /an.*example/ and 1 * 2 * 3 == 6) or
('hello world' =~ /world/ and 6 = 3 * 2 * 1)
) {
print "h...
1
Solved
By default, PerlTidy will line up assignments in my code. E.g.
PerlTidy changes this...
my $red = 1;
my $green = 2;
my $yellow = 3;
my $cyan = 4;
...into this...
my $red = 1;
my $green = 2;
my...
4
Solved
My department is currently settling on some general code best practices, which we would like to somewhat enforce, providing developers with Perl::Tidy and Perl::Critic configurations.
Now we are h...
Nonsectarian asked 4/9, 2009 at 11:44
4
I've started a conversion of a project to Moose and the first thing I noticed was that my critic/tidy tests go to hell. Moose, Tidy and Critic don't seem to like each other as much as they used to....
Defilade asked 18/9, 2008 at 13:21
1
© 2022 - 2024 — McMap. All rights reserved.