Check out Win32::FileOp.
-----Original Message-----
From: David Richardson
To: [EMAIL PROTECTED]
Sent: 8/21/02 8:48 AM
Subject: Moving directories
Is there any way to have a perl script move one directory into
another like:
$ mkir one two
$ mv one two
$ ls two
one
without having to use system?
I tried
use File::Copy;
mkdir 'one';
mkdir 'two';
move('one', 'two');
but this renames one to two and overwrites the two made by mkdir.
Thanks,
Dave
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]