hey,
im using inplace file editing in my script (not setting the -i flag, but setting @ARGV and then $^I from within the code) and doing
doesnt work right if you set $/ to an empty string ($/="")...usually setting $/ to "" and then going through a while loop over a file will cause everything to be read in one go, but using inplace editing, it seems to read through multiple times. is there any way to get around this?