Found the problem.
The perl58.dll file was actually v. 5.10 not v. 5.8 for some reason. Deleted all instances of perl58.dll, uninstalled Perl, and deleted the folder. Reinstalled the exact version (5.8.8.820) and the server works now.
Thanks for the advice.
