Your web server processes should be running as a user with limited privs.
In reply to Re: Bug in perl? by chakram88 in thread Bug in perl? by MaxDes