to echo the advice given to you by
Corion, unless you post some code nobody can really help you, since we don't have access to the server in question, or the script you are running. See
How do I post a question effectively? and the
PerlMonks FAQ.
Update: Fixed typo in link to
How do I post a question effectively?
Martin