in reply to Dealing with incorrect shebang line entries on Windows with Apache

The best idea is to ensure that your development environments are identical in configuration to your production server.

Your dev systems might have a few extra debugging tools, a nicer text editor, etc, but you'll run into far fewer issues if you at least keep your Perl installations identical.