X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FSchema%2FLoader%2FBase.pm;h=84bee4082bc4ec1b34222aca2fbfe44826e71aac;hb=6947b5d664d1e4136dfe8d410f821e0a4bdaba31;hp=baf36b1e59f07436efcafc889d6e82635256af57;hpb=4cd5155bb0df2e2e59378d9e878af90285967e12;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/lib/DBIx/Class/Schema/Loader/Base.pm b/lib/DBIx/Class/Schema/Loader/Base.pm index baf36b1..84bee40 100644 --- a/lib/DBIx/Class/Schema/Loader/Base.pm +++ b/lib/DBIx/Class/Schema/Loader/Base.pm @@ -1347,7 +1347,7 @@ sub _default_moose_custom_content { sub _default_custom_content { my $self = shift; my $default = qq|\n\n# You can replace this text with custom| - . qq| content, and it will be preserved on regeneration|; + . qq| code or comments, and it will be preserved on regeneration|; if ($self->use_moose) { $default .= $self->_default_moose_custom_content; } @@ -1512,6 +1512,7 @@ sub _resolve_col_accessor_collisions { die $@ if $@; push @methods, @{ Class::Inspector->methods($class) || [] }; + push @methods, @{ Class::Inspector->methods('UNIVERSAL') || [] }; } my %methods;