Added API function dbug()

This commit is contained in:
Elijah Perrault committed 2011-01-16 23:26:46 -07:00
1 parent 3118964e80
commit 513e8fc506
2 files changed
+6

No files matched your search

+5
View File
@@ -42,7 +42,12 @@ sub println
# Print only if in debug mode.
sub dbug
{
my ($out) = @_;
if ($Auto::DEBUG) {
# We're in debug mode; print it out.
println $out;
}
}
# Log to file.