in reply to DBIC: How to dump schema with underscores for table names instead of camel case?

Bam! Got it. Finally.

make_schema_at ( 'Schema', { debug => 1, dump_directory => '.', moniker_map => \&_get_moniker, }, [$self->dsn, $self->db_user, $self->db_pass], ); sub _get_moniker { return shift; #returns original table name with no modifications }

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks

  • Comment on Re: DBIC: How to dump schema with underscores for table names instead of camel case?
  • Download Code