Not the way you describe the wish, but I've had enormous help of Devel::TraceUse which will show - when the program finishes - a list of modules actually loaded with their versions.
Enjoy, Have FUN! H.Merijn
Comment on Re: Check if all used modules are use'ed