[Bast-commits] r3602 -
trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader
ilmari at dev.catalyst.perl.org
ilmari at dev.catalyst.perl.org
Wed Jul 25 14:20:18 GMT 2007
Author: ilmari
Date: 2007-07-25 14:20:17 +0100 (Wed, 25 Jul 2007)
New Revision: 3602
Modified:
trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/Base.pm
Log:
Do not grow the whitespace after the DO NOT MODIFY THIS notice on each regen.
Modified: trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/Base.pm
===================================================================
--- trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/Base.pm 2007-07-24 16:00:37 UTC (rev 3601)
+++ trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/Base.pm 2007-07-25 13:20:17 UTC (rev 3602)
@@ -471,7 +471,7 @@
my $custom_content = $self->_get_custom_content($class, $filename);
- $custom_content ||= qq|\n# You can replace this text with custom|
+ $custom_content ||= qq|\n\n# You can replace this text with custom|
. qq| content, and it will be preserved on regeneration|
. qq|\n1;\n|;
@@ -487,7 +487,7 @@
or croak "Cannot open '$filename' for writing: $!";
# Write the top half and its MD5 sum
- print $fh $text . Digest::MD5::md5_base64($text) . "\n\n";
+ print $fh $text . Digest::MD5::md5_base64($text) . "\n";
# Write out anything loaded via external partial class file in @INC
print $fh qq|$_\n|
More information about the Bast-commits
mailing list