use Table ( { -dbase => "my_database", -table => "foo" } ); my $f = my_database::foo->new( { bar => 1, baz => "neat" } );