Subject: | Inconsistent use of print v. print STDOUT |
The code contains "warn" and explicit "print STDERR" and similarly
"print STDOUT" and implicit "print". Most curious is the following code
snippet,
with an implicit "print" hidden in some explicit "print STDOUT".
my(@missed) = ExtUtils::Manifest::manicheck();
if (@missed) {
print STDOUT "Warning: the following files are missing in your
kit:\n";
print "\t", join "\n\t", @missed;
print STDOUT "\n";
print STDOUT "Please inform the author.\n";
} else {
print STDOUT "Looks good\n";
}
Do these different forms of warn/print have any significance?
Should they be made consistent, so that other idle patchers do not worry
that there is a significance?