in reply to move the file to other folder

agoth, thanks for your advice.I'm really a beginner in perl,and also in perlmonks.I will try my best to do perl programming. thanks again.