-
----
**Edit:** I have implemented a proof-of-concept, please review and comment: https://github.com/Perl-Critic/PPI/pull/280
----
----
----
This spawned from discussion in #194 and https://…
-
RT Ticket: http://rt.cpan.org/Ticket/Display.html?id=75794
Requested On: Thu Mar 15 10:10:00 2012
Requested By: EDAVIS@cpan.org
---
The old Perl idiom to perform an s/// substitution saving the resu…
-
From https://github.com/Grinnz/Perl-Critic-Freenode/issues/33:
```
> cat minimal
#!/usr/bin/perl
open(CHECK, '/foo');
> ppi_dumper minimal
PPI::Document
PPI::Token::Comment '#!/usr/b…
-
There's a comment in lib/Perl/Critic/Policy/Modules/ProhibitEvilModules.pm
```
# It's kind of unfortunate that I had to put capturing parentheses in the
# component regexes above, because they're…
-
RT Ticket: http://rt.cpan.org/Ticket/Display.html?id=57807
Requested On: Mon May 24 15:32:51 2010
Requested By: dolmen@cpan.org
---
For a definition of "constant functions", see "Constant functions"…
-
The following usages are not detected but should be. The minute you take them out of the strings, they're detected, however.
```perl
"$`";
"$&";
"$'";
"$PREMATCH";
"$MATCH";
"$POSTMATCH";
``…
-
```
$ file p.pl
p.pl: Perl script text executable
$ perl -c p.pl
p.pl syntax OK
```
Alas, http://perlcritic.com/ says
> Something went wrong. Was that Perl source code?
gunzip [p.pl.gz](htt…
-
I am working on something special but still the feature request seems to be more general useful.
I have a perl file which is read in by another software, it is the config file .latexmkrc which is re…
-
Could / should perl critic identify and warn on code with insufficient initialisers?
Several examples I've come across recently:
my ($s1, $s2, $s3) = "";
my ($x, $y, $z) = (undef, undef);
my ($p, $q…
-
Somewhat similiar to ## no critic in perl-critic, allow the skipping of tailor checking for a line/block via specialized comments.
As an example:
```
Chef::Log.warn "some string that is just pas the…
claco updated
11 years ago