# code of myModule use strict; use warnings; use diagnostics; package myModule; # sub routine one for generating HTML content # sub routine two for generating HTML content # sub routine third for database content # some of its code # database disconnection $dbh->disconnect; 1;