Is there a definative way to recreate the gnu `rm -rf` in perl?

I've seen a couple of modules that seem to implement something, and a
bunch of variations using File::Find,  but it just seems overly
complicated.    Since it's important I understand exactly what it's
going to do (it's removing data here!) I'm hesitant to put any of them
in use.

And I guess the related question is, should I just shell out for this?
Performance and portability aren't a concern here...


Brian


You could use rmtree.

perldoc File::Path

HTH

richf 

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to