Most likely the perl binary that root runs is not the same Perl binary that your webserver starts.
Try
which perl
to find out which Perl your shell would call for root.
In reply to Re: Perl 500 error
by Corion
in thread Perl 500 error
by hauntedbyshadow
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |