in reply to Re^2: Passing a variable to a module
in thread Passing a variable to a module

I actually ended up using:

sub htmlHead { my $title = $_[1]; print $cgi->header("text/html"); print $title; print "<br>"; }

Thank you both for your help
Rich