avoid error when has('perl') == 0