http://www.perlmonks.org?node_id=1004915


in reply to changing the first number of every line

jinism:

You can get a good start with that by reading perlintro and look over perlfaq5, especially the section "How do I change, delete, or insert a line in a file, or append to the beginning of a file?".

...roboticus

When your only tool is a hammer, all problems look like your thumb.

  • Comment on Re: changing the first number of every line