Help for this page

Select Code to Download


  1. or download this
    my @configuration_db_one = ...;
    my @configuration_db_two = ...;
    
    ...
    $schema_one->storage->disconnect;
    my $schema_two = MyDBIC::Schema->connect( @configuration_db_two );
    # ^^^ Right, $schema_one will reconnect with its own info when used.