All pastes #196751 Raw Edit

Anonymous

public text v1 · immutable
·published 2006-10-10 21:09 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;