in reply to Re: Inserting a line in the middle of a text
in thread Inserting a line in the middle of a text

Thank you very much cdarke for explaining my mistakes.

Your script works perfectly.

  • Comment on Re^2: Inserting a line in the middle of a text

Replies are listed 'Best First'.
Re^3: Inserting a line in the middle of a text
by graff (Chancellor) on Jan 21, 2009 at 02:18 UTC
    You start the thread by saying:

    I've been reading a not very useful book for a few weeks now.

    and it strikes me that the number of problems in the OP script might be an indicator of just how "not very useful" that book really is. Have you checked out the Reviews section here at the Monastery? Is your book already reviewed there? (If not, perhaps you could take your revenge on the "not very useful" author by contributing a review of the book.)

    Oh, and maybe you can find a better book... (maybe our Book Reviews nook will help you find one). Personally, my own favorite reading has always been the documentation that comes with perl -- starting perhaps with perl.