On Wed, Oct 01, 2003 at 03:54:25PM -0400, Paul Kraus wrote: > I need to do recursive deletes. But according to perldoc I should not > use unlink. I should use rmdir. However rmdir does not work unless the > directory is empty.... Should I just system rm -r ....
Why not? If that does what you want, use it. The XP people (that's Extreme Programming) will tell you to "Do the simplest thing that could possibly work". If you find you need a pure Perl solution you might want to take a look at File::Path, a core module. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]