You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-commits@perl.apache.org by ge...@apache.org on 2005/11/04 18:12:27 UTC
svn commit: r330844 - /perl/Apache-Test/trunk/lib/Apache/TestConfig.pm
Author: geoff
Date: Fri Nov 4 09:12:20 2005
New Revision: 330844
URL: http://svn.apache.org/viewcvs?rev=330844&view=rev
Log:
add date to file generation info
Modified:
perl/Apache-Test/trunk/lib/Apache/TestConfig.pm
Modified: perl/Apache-Test/trunk/lib/Apache/TestConfig.pm
URL: http://svn.apache.org/viewcvs/perl/Apache-Test/trunk/lib/Apache/TestConfig.pm?rev=330844&r1=330843&r2=330844&view=diff
==============================================================================
--- perl/Apache-Test/trunk/lib/Apache/TestConfig.pm (original)
+++ perl/Apache-Test/trunk/lib/Apache/TestConfig.pm Fri Nov 4 09:12:20 2005
@@ -886,9 +886,11 @@
sub genwarning {
my($self, $filename, $from_filename) = @_;
return unless $filename;
+ my $time = scalar localtime;
my $warning = "WARNING: this file is generated";
$warning .= " (from $from_filename)" if defined $from_filename;
$warning .= ", do not edit\n";
+ $warning .= "generated on $time\n";
$warning .= calls_trace();
return $self->warn_style_sub_ref($filename)->($warning);
}