A Real Example - perl
sub PrintComplainantList {
$template = new Text::Template( TYPE => FILE,
SOURCE => "$main::docroot/parties.tmpl");
# get the list of respondents by case number
$dbh = &Database::connectToDB();
$CaseNo = $dbh->($caseno);
SELECT user_id, email, last
WHERE case_id = $CaseNo];