------------------------------------------------
On Wed, 1 Oct 2003 22:43:39 +0200, Paul Johnson <[EMAIL PROTECTED]> wrote:

> 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".
> 

Ironically, most employers are a little fickle about that "could possibly" phrase... 
since I work for a financial instituition they are *very* picky about "that better 
work, and work right!".... which in general means shelling out is no longer the 
"easiest" solution...

The danger is in settling for something simpler because it can work, rather than 
simpler *and* works to the same "extreme" ;-)....

Yes, I am in the 'Fight the Urge to use IPC camp'...

http://danconia.org

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to