Wouldn't be easier in that case to make a symlink from /usr/local/bin/perl to /usr/bin/perl then you wouldn't have to edit the scripts at all?