http://www.perlmonks.org?node_id=454644


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

Why not use the Apache directive that was exactly built for this. Look for:

ScriptInterpreterSource registry

in the httpd.conf file, and uncomment it. Hey presto, Apache reads the registry setting for the location of your perl interpreter :)

--
Barbie | Birmingham Perl Mongers user group | http://birmingham.pm.org/