sub build_page { my $self = shift; #### the usual arg processing, etc my $debug = Debugger->new(); $debug->debug_it(); ### gather up more info, stick it into the $html var return $html; }