use MyModule; use DBI; my $dbh = DBI->connect(...); my $foo = MyModule::->new($dbh);