moving file using perl

OOzy Pal oozypal at gmail.com
Thu May 1 07:41:21 UTC 2008


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;

-- 
OOzy
Ubuntu-Gutsy (7.10)




More information about the ubuntu-users mailing list