On Mon, Jan 26, 2004 at 05:21:35PM -0500, IvorW wrote:
> # Note: this needs to be portable, so we can't use `rm -rf test`.

But you can use...

use File::Path;
rmtree 'test';


> The more serious problem is that the code does not handle file multiversions.
> How can I get File::Find to see them.

The classic way around this is:  "1 while unlink $file;" which deletes each
version until they're all gone.  rmtree() will do the moral equivalent of 
this for you.


-- 
Michael G Schwern        [EMAIL PROTECTED]  http://www.pobox.com/~schwern/
7a. Good, Fast, Cheap: Pick any two (you can't have all three).
     -- RFC 1925

Reply via email to