This module makes all kinds of assumptions about your system - how the disks work, how the filesystem works, and so on. Even if it does overwrite the actual disk blocks containing the original data, this will not necessarily protect you against someone with sufficient equipment and/or determination. If you want to stop forensic recovery of the data, don't put it on a computer in the first place. If you have already put it on a computer, I recommend melting all your disks.

All of the following functions can be exported if you wish. However, none are exported by default. All take a filename as their only parameter (any subsequent params are ignored) and die if that file can't be fiddled with. In case of failure, the file may be left fractionally fiddled.

This module was written in response to a post by 'fluffyvoidwarrior' on perlmonks.

This software is free-as-in-speech software, and may be used, distributed, and modified under the terms of either the GNU General Public Licence version 2 or the Artistic Licence. It's up to you which one you use. The full text of the licences can be found in the files GPL2.txt and ARTISTIC.txt, respectively.