chromatic writes:
On Wednesday 13 June 2007 12:45:12 [EMAIL PROTECTED] wrote:
Minor beautification in Parrot::Test
@@ -697,7 +694,7 @@
$builder->diag("'$cmd' failed with exit code $exit_code")
if $exit_code and not $pass;
- unless ( $ENV{POSTMORTEM} ) {
+ if ( ! $ENV{POSTMORTEM} ) {
unlink $out_f;
}
That's an ... odd definition of beautification. I prefer:
unlink $out_f unless $ENV{POSTMORTEM};
It's two lines shorter and has several fewer punctuation characters.
-- c
The official preferences should probably be in our perltidy.conf and/or
perlcritic.t, as appropriate.