See also: #524552. I was too slow and this got committed to the tree already. The tests work, so we should enable them in the version in the tree. Check bug #523802 for the ebuild I came up with; it should have the correct dependencies. Sorry to indirectly dump this on the perl team after all!
Improvements added, thanks!