On an operating UBB, the only files that need the path to perl identified are the ultimatebb.cgi and cp.cgi which sounds like you've already changed. The only other files with the path to perl in them are the testing files which are not used in an operating UBB, only for initial setup assistance.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.