You can use the "setperl.csh" utility to quickly and easily change the path to perl on all your Bugzilla files. This is a C-shell script; if you do not have "csh" or "tcsh" in the search path on your system, it will not work!
Download the "setperl.csh" utility to your Bugzilla directory and make it executable.
bash# cd /your/path/to/bugzilla
bash# wget -O setperl.csh 'http://bugzilla.mozilla.org/showattachment.cgi?attach_id=10795'
bash# chmod u+x setperl.csh
Prepare (and fix) Bugzilla file permissions.
bash# chmod u+w *
bash# chmod u+x duplicates.cgi
bash# chmod a-x bug_status.html
Run the script:
bash# ./setperl.csh /your/path/to/perl