* Fixes
- Fix another embarrassing regression preventing correct refining of
the search criteria on a prefetched relation (broken in 0.08205)
+ - Fix incorrect callsite reporting by DBIC::Carp
0.08208 2013-02-20 09:56 (UTC)
* New Features / Changes
my $fr_num = 1; # skip us and the calling carp*
my @f;
while (@f = caller($fr_num++)) {
- last unless $f[0] =~ $skip_pattern;
+ last if $f[0] !~ $skip_pattern;
if (
$f[0]->can('_skip_namespace_frames')
my $into = caller;
$skip_pattern = $skip_pattern
- ? qr/ ^ $into $ | $skip_pattern /xo
- : qr/ ^ $into $ /xo
+ ? qr/ ^ $into $ | $skip_pattern /x
+ : qr/ ^ $into $ /x
;
no strict 'refs';
push @schemas, create_schema({
args => { parser_args => { $parser_args_key => $s } }
});
- } qr/\Qparser_args => {\E.+?is deprecated/,
+ } qr/\Qparser_args => {\E.+?is deprecated.+\Q@{[__FILE__]}/,
"deprecated crazy parser_arg '$parser_args_key' warned";
}
parser => 'SQL::Translator::Parser::YAML'
)->translate(
data => SQL::Translator->new(
- parser_args => { package => $s },
+ parser_args => { dbic_schema => $s },
parser => 'SQL::Translator::Parser::DBIx::Class',
producer => 'SQL::Translator::Producer::YAML',
)->translate