perl: finally fix the uudmap.h bug (closes #3709)