#if Markus Jais

> I think the default should be to *not* indent the output.
> I would find it most intuitive, when you can pass the level of
> indentation, that is
> 
> doc.write($stdout, 0) # no indentation (zero spaces)
> doc.write($stdout, 1) # 1 space indentation
> doc.write($stdout, 5) # 5 spaces indentation

And...

doc.write($stdout, rand) # emacs-style indentation

;)

Rik