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.
In reply to Re: in place edit - how to do
by ikegami
in thread in place edit - how to do
by smanicka
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |