33 users online (0 members and 33 guests)  


  Results 1 to 2 of 2

Related

  1. How do I align Text in the same line?    Forum: HTML Forum
    Replies: 10
  2. Replies: 2
  3. CGI form input doesn't write to text file    Forum: CGI Perl Forum
    Replies: 2
  4. Replies: 3
  1. #1
    sammysoil's Avatar
    New User

    Status
    Offline
    Join Date
    Sep 2007
    Posts
    3

    Script to write text to a certain line of a file

    I was wondering if there is such a script to write text a certain line in a file. I know I can overwrite a file with the write command and write text to the end of a file using append, but is there a way to write text to the middle of a file?

  2. #2
    xmassey's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Apr 2007
    Posts
    100

    Re: Script to write text to a certain line of a file

    Hello,
    Possibly make use of Perl Module Tie::File
    Chris



Tags for this Thread