in reply to Changing a variable in perl module

I suggest putting a sticky note with 'value2' written on it on the screen. Just about there were you see 'value1'. Then you have changed the content of the file, without "file operations".

Another way to use a disk instead of a file operation. Find the location of 'value1' on disk, and use 'dd' to write 'value2' on it. But that usually requires root priviledges.

Not being able to become root, you still have an option left, assuming physical access to the disk(s). It involves magnets and a very steady hand.