in reply to Calling a PERL script from an html form
My initial guess would be that there is something fundamentally-wrong in the setup of your environment – not with this Perl code. If an error message involving "glibc" is being thrown, the web server is probably not getting that far.