Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: changing the first number of every line

by roboticus (Chancellor)
on Nov 21, 2012 at 13:15 UTC ( #1004915=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004915]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2016-12-05 13:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (82 votes). Check out past polls.