Suggestion: You might need to examine the system environment path for Perl. It is recommended that the which Perl should point to the /usr/bin path.
which Perl
/usr/bin