SL Backcompat Plan:
+* rewrite un-singularized class names (in e.g. custom relationships) in both
+ preserved custom content and external content from un-singularized classes
+
* make use_namespaces the default, and upgrade to it properly
*** Catalyst Helper
my $code = do {
local ($/, @ARGV) = (undef, $old_real_inc_path); <>
};
- $code =~ s/$old_class/$class/g;
+ $code =~ s/\b$old_class\b/$class/g;
eval $code;
die $@ if $@;
}
while(<$fh>) {
chomp;
- s/$old_class/$class/g;
+ s/\b$old_class\b/$class/g;
$self->_ext_stmt($class, $_);
}
$self->_ext_stmt($class,