if ($debug == "true") { &debugit; # call the routine }