I just re-send the patch with additional fix for the build failure.
I think the basic problem was an inconsistency in the way perl recipe and cpan.bbclass convert the absolute perl path to env path.
Version 2 of the patch tries to use same cpan.bbclass approach on the perl recipe.
Before submitting I just ran "bitbake -k world". I hope it doesn't break the build again.