Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Need Help extracting data from text and reformatting as table

by Anonymous Monk
on Feb 23, 2001 at 00:11 UTC ( #60306=perlquestion: print w/replies, xml ) Need Help??

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://60306]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2022-12-05 01:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?