stas 01/12/13 17:42:27
Modified: perl-framework/Apache-Test/lib/Apache TestConfig.pm Log: - document $nowarnings option for writefile() Revision Changes Path 1.99 +3 -2 httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm Index: TestConfig.pm =================================================================== RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm,v retrieving revision 1.98 retrieving revision 1.99 diff -u -r1.98 -r1.99 --- TestConfig.pm 2001/12/14 00:17:28 1.98 +++ TestConfig.pm 2001/12/14 01:42:27 1.99 @@ -1315,13 +1315,14 @@ =item writefile() - $cfg->writefile($file, $content); + $cfg->writefile($file, $content, [$nowarning]); writefile() creates a new file C<$file> with the content of C<$content>. A comment with a warning and calls trace is added to the top of this -file. See genwarning() for more info about this comment. +file unless C<$nowarnings> is passed and set to a true value. See +genwarning() for more info about this comment. If parent directories of C<$file> don't exist they will be automagically created.
