Revision history for Perl extension DBIx::Class::Schema::Loader
- Only redump the files when something has actually changed
+ - Place a warning at the top of the files saying 'do not modify' to
+ match the one at the bottom of the auto-gen'd section
0.04999_08 2009-08-28
- Replace UNIVERSAL::require with Class::C3::Componentised
my $schema_text =
qq|package $schema_class;\n\n|
+ . qq|# Created by DBIx::Class::Schema::Loader\n|
+ . qq|# DO NOT MODIFY THE FIRST PART OF THIS FILE\n\n|
. qq|use strict;\nuse warnings;\n\n|
. qq|use base '$schema_base_class';\n\n|;
foreach my $src_class (@classes) {
my $src_text =
qq|package $src_class;\n\n|
+ . qq|# Created by DBIx::Class::Schema::Loader\n|
+ . qq|# DO NOT MODIFY THE FIRST PART OF THIS FILE\n\n|
. qq|use strict;\nuse warnings;\n\n|
. qq|use base '$result_base_class';\n\n|;