All of the #! code uses "/usr/bin/perl". Catch there is that the system installs are often badly out of date; RH is about a decade behind in their Perl distro using one that is no longer supported.
Really simple fix: Replace "/usr/bin/perl" with "/usr/bin/env perl" and keep going.
At that point people can install ZoneMinder from source without having to manually replace the system perl.