On Mon, 2006-10-23 at 12:21 +0200, Bart van Kuik wrote:
> That's not it. I tested it with one script with one subroutine, not
> 'use'ing any modules:
>
> ---------------
> #!/usr/bin/perl
> use strict;
> use warnings;
>
> print "Content-type: text/plain\n\n";
>
> sub testsub {
> print "test";
> }
>
> testsub();
> ---------------
>
> Anyway, it happens with every reload of the page except the first load
> (after the webserver is restarted). Is this something typical of using
> "PerlHandler Apache::PerlRun"?


No, definitely not. Are you doing something with virtual hosts?

Apache::PerlRun is supposed to clear out the whole namespace of that
script each time. Maybe it would help if you showed the exact errors
you're getting, rather than paraphrasing them. Also, if you load
Apache::Status, it will let you see what's going on with PerlRun.

- Perrin