All pastes #196636 Raw Edit

Miscellany

public text v1 · immutable
·published 2006-10-10 19:34 UTC
rendered paste body
package DBIx::Class::Schema::Loader::DBI::Informix;

use strict;
use warnings;
use base 'DBIx::Class::Schema::Loader::DBI';
use Carp::Clan qw/^DBIx::Class/;
use Class::C3;

sub _tables_list
{
        my $self = shift;
        my $dbh = $self->schema->storage->dbh;

        my @tables = $dbh->func('_tables');

        foreach (@tables) {
                s/\"//g;
                s/\s//g;
        }

        return grep { /^[a-z\.]+$/ } @tables;
}

1;