Finding the table name for a class in DBIx::Class is straightforward, like this
my $s = DBIx::Class::Schema::Loader->connect('dbi:SQLite:foo.db');
$s->class($class_name)->table;
but how can I do the opposite, and get the class name from the name of the table in the database?