in reply to Why aren't system() calls working?

Hey...

The return of the system call is in the upper 8 bits of
the 16 returned, so you might be better off with something like:
system("rm -r $directory"); $result=$? >> 8;
and *cough* running with strict, -w and -T *cough*
*double cough* you could have tried perldoc -f system *double cough*

GreetZ!,

:wq

And I should keep my mouth shut, coz I didn't answer the REAL question,
sorry... you might wanna check the permissions of files/directory/parent dir
rm -rf might force it