You can use the "setperl.pl" utility to quickly and easily change the path to perl on all your Bugzilla files.
Download the "setperl.pl" utility to your Bugzilla directory and make it executable.
bash# cd /your/path/to/bugzilla
bash# wget -O setperl.pl 'http://bugzilla.mozilla.org/showattachment.cgi?attach_id=10795'
bash# chmod u+x setperl.pl
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.pl /your/path/to/perl