Where you doing "rm -f $file" or `rm -f $file`? You need to use "backticks" for system commands.
On 3/13/07, Mathew <[EMAIL PROTECTED]> wrote:
I recently forgot about the unlink function and had been trying to remove files using the less efficient system call to run "rm -f /path/to/files". I found, however, that this didn't work at all. I've since replaced it with unlink and get the results one can expect to get so it isn't a matter of trying to find a way to get the former to work. I'm just wondering what might have caused it to not work. Mathew -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/