1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    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