My error was:
local $^I = '.bak'; while (<>) { m/^(\w+)\s+(\d+)$/; $2++; ## this
I guess that would work if I used Tie::File or something like that. Thank you!
--
David Serrano
In reply to Re^3: update values in one file from another
by Hue-Bond
in thread update values in one file from another
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |