How to update file with values from another text file

Discussion in 'Perl' started by naveenkumar_15, Jan 28, 2011.

  1. naveenkumar_15

    naveenkumar_15 New Member

    Joined:
    Jan 28, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi Experts,

    Im new to Perl i need your expertise on how to get or read values from one text file and need to update the same values in to another text file and save the file

    please help me or recommand me do to so.

    Thanks in advance.

    Regards.
    Naveen
     
  2. chorny

    chorny New Member

    Joined:
    Jun 6, 2010
    Messages:
    20
    Likes Received:
    2
    Trophy Points:
    0
    Home Page:
    http://chorny.net
    If your files are CSV files, use Text::CSV to read/write them

    P.S. Consider reading "Learning Perl" (no earlier than 4th edition) or "Beginning Perl".
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice