[Bioperl-l] RootI->debug method

Jason Eric Stajich jason@cgt.mc.duke.edu
Tue, 9 Oct 2001 22:31:09 -0400 (EDT)


I'd like to propose a new method to RootI called 'debug' or 'debug_print'
which will print the input string to STDERR if $self->verbose > 0.

People should be able to embed debugging messages in their code and have
it turned off or on based on the verbose flag without having to do all the
protecting themselves (ala ->
if ( $self->verbose ) {
	$self->warn("Message for debugging");
}


Sound okay?

-- 
Jason Stajich
Duke University
jason@cgt.mc.duke.edu