Please read the PerlMonks FAQ and How do I post a question effectively?. If you show us the script in question (remember to enclose it between 'code' tags (see Writeup Formatting Tips) when posting people will be able to offer more constructive advice than this. Also your chosen title could better describe the issue.