Theres a slight problem here.. It doesn't account for dependencies.. (ie running in a dir with DBD-* and DBI* as sub dirs will compile the DBDs first, and DBI after, which doesn't make a lot of sense..)
I guess fixing this will make it significantly more compilcated though.
Unfornatly, I don't see how to fix that without breaking the paradime of perl Makefile.PL; make; make test; make install.
Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).