in reply to Apache Perl CGI and VirtualHosts

The output of warn goes to STDERR, which is connected to the Apache web server error log. If you already have the error log file for the virtual host set up, it is likely misconfigured (but that's an Apache configuration issue and not a Perl issue :) ).