On Thu, May 01, 2008 at 10:41:21AM +0300, OOzy Pal wrote: > Hello, > > How can I move a file to a directory name DONE using perl. I tried > this but it did not work? > > $file='Myfile'; > rename $file, 'Done/'$file; > ... and what error message did you get? Does the directory exist (and remember 'DONE' and 'Done' are different in Linux/Unix)? -- Chris Green