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


in reply to Re^12: incrementing already existing file
in thread incrementing already existing file

My pleasure. I'll offer one other piece of advice. roboticus already said pretty much the same thing here, but it bears repeating. Get into the habit of keeping nested blocks of code properly indented; each new block should be indented more than the block that contains it. When you see that you have levels of indentation (i.e., many levels of nesting), it's usually a clue that you need to think again about what you are doing. As you get more experience, this will become automatic, but you can always use a program called perltidy to help you keep things neat.

Keep at it. You will get the hang of it. I just takes practice.

  • Comment on Re^13: incrementing already existing file