Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
Perl

Journal Otter's Journal: Now *that's* quite a bug! 1

ALERT - File::Remove reported to "rm -rf /" during tests

Err, yeah, that might be a bit of a problem. At least it's not as bad as the guy in the Lisp newsgroup giving similar code to a newbie *deliberately*.

I'd submit this as a story, but don't know enough about Perl to explain what it's in.

This discussion has been archived. No new comments can be posted.

Now *that's* quite a bug!

Comments Filter:
  • I've read through the thread. Seems there was a bug in one of the file tests for File::Remove, which is basically a souped-up set of file/directory removal tools. The problem is, the test creates some soft links, which the remove() function is supposed to ignore. If the test fails, apparently this leads to the removal of files from the root directory, because it is one of the directories that is linked to by the test. In essence, when the test fails, it's supposed to clean up after itself, unfortunately it

Somebody ought to cross ball point pens with coat hangers so that the pens will multiply instead of disappear.

Working...