Subject: | SQL::Parser Misfeature in feature()? |
Tracking down an apparent bug in Class::DBI::SQLite, I wonder if SQL::Parser::feature() should be setting options under its 'opts' key, not $opt_class. Judging by the return path, it should be.
--- SQL/Parser.pm.old 2004-06-16 13:24:45.000000000 -0700
+++ SQL/Parser.pm 2004-06-16 13:25:04.000000000 -0700
@@ -183,7 +183,7 @@
$self->set_feature_flags( undef, {$opt_name=>$opt_value} );
}
else {
- $self->{$opt_class}->{$opt_name} = $opt_value;
+ $self->{'opts'}->{$opt_class}->{$opt_name} = $opt_value;
}
}
else {