in reply to generate UML out of module

If you want sequence diagrams, you could try UML::Sequence.

Phil