I have started on a new project. All apps up to this point have been written in Perl. The direction is to start phasing out Perl coding and start coding all new apps in PHP. There are a boat load of already written, already working Perl Modules (modulename.pm), i.e. a bunch of user written functions customized to this project.
Does anyone know what I need to do to be able to call those modules and use them as if they were written in php. The biggest thing I need to do at this point is to connect to the database. They have all that embedded so deep that I have been unsuccessful in trying to locate the passwords. I know they work because they work for the Perl scripts. I think the passwords are in a hidden file that I cannot get to.
I think there is switch that needs to be changed in the ini file and then php will have to be recompiled. They sysadmin is really dragging her feet about doing this because she will have to take the server down, which means coming in on a weekend.
Is there any other way around this, like a wrapper of some sort. I wouldn't know where to start, but if someone has any ideas, I'd sure like to hear them. I certainly don't want to have to rewrite about 50 modules that average about 200 lines of perl code.