Hey guys. thanks for the responses. Actually there's nothing wrong with this app when it's run on a 32 bit OS. this issue only started happening last week when I copied the code to a windows 2008 64 bit server to begin testing. I may just push them to migrate to windows 2003 instead of windows 2008. the only variable is the 64 bit OS. Other than that, the code works fine.
Have you guys had to make any changes to PERL code that runs fine on 32 bit systems to enable it to run on 64 bit systems?