in reply to Re^5: Class::DBI vs. DBIx::Class
in thread Class::DBI vs. DBIx::Class
Thank you for the reference and for the warning. As you have suspected, it is "$schema->" that is bothering me. Writing it is not the problem, but it makes reading a bit harder, especially because it increases the chances that an expression does not fit on one line...
You say that there are better ways around it. Did you have something like sub resultset { $schema->resultset(@_) } in mind? This would indeed be a reasonable resolution of my concerns.
You say that there are better ways around it. Did you have something like sub resultset { $schema->resultset(@_) } in mind? This would indeed be a reasonable resolution of my concerns.
In Section
Seekers of Perl Wisdom