I'm using Apache::PerlRun to run my Perl scripts. I'm getting the
following error:
Subroutine xxx redefined at /path/to/sirq.pl line 100.
What it usually means is that you are requiring modules which use the
same subroutine names and they're clashing.
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"?
Thanks,
Bart