http://qs321.pair.com?node_id=60306

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I need a perl script that reads data in format of "From:" section in below from a file and changes it into the "To:" format in below and writes it into another file. can someone has a script that can do this?. I am newbie in the perl and needs this going. My email address is: y_jim54@hotmail.com From: Total Fund Available: $50.00 Mr. X: Has $20.00. He will spend $3.00. He will keep $17.00. Mr. Y: Has $30.00. He will spend $6.00. he will keep $24.00. To: Total Fund: Name: Holds: Spend: Keep: =========== ======= ====== ===== ====== $50.00 Mr. X $20.00 $3.00 $17.00 Mr. Y $30.00 $6.00 $24.00

Replies are listed 'Best First'.
Re: Need Help extracting data from text and reformatting as table
by SparkeyG (Curate) on Feb 23, 2001 at 02:55 UTC
    I would suggest that you try to solve the problem before asking for help. Take a gander at the perl man pages and/or the LLama book
    --SparkeG