Can still be replayed, but would likely require special hardware to do so.
"A file format that corrupts itself a little every time you open it" simply isn't possible.
It's almost like the author is ragebaiting with this AI generated non-sense.
Tie::Hash::Cannabinol is a completely useless demonstration of how to use Tie::StdHash to
pervert the behaviour of Perl hashes. Once a hash has been tied to Tie::Hash::Cannabinol,
there is a 25% chance that it will forget anything that you tell it immediately and a
further 25% chance that it won't be able to retrieve any information you ask it for. Any
information that it does return will be pulled at random from its keys.
Oh, and the return value from exists isn't to be trusted either :)
[1] https://metacpan.org/pod/Tie::Hash::CannabinolP.S. I didn't specify, I didn't have my own computer, only used computers at school and my friend's personal computers, leaving "encrypted" files in case I forgot to bring my diskette. So, after he stole my code and some personal files, her never left me alone on his computer, but he never thought I would infect his computer so easily right in front of his eyes without him realizing it!
What's the other side of the contract? Why would a reader oblige to corrupt?