in reply to in place edit - how to do

It says cannot do inplace edit without backup at line 9

In-place editing currently uses a system feature that isn't available in Windows. But in-place editing with backup doesn't use that feature, so it works on Windows. Change

$^I = '';

to

$^I = '.bak';

A proposal for future version of Perls might eliminate this issue.