in reply to Re^2: update values in one file from another
in thread update values in one file from another

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