Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Parsing problem

by mmittiga17 (Scribe)
on Aug 17, 2011 at 21:21 UTC ( #920801=perlquestion: print w/replies, xml ) Need Help??

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

Hi All, Have an excel file I am trying parse but not being good with the parse spread sheet module is not acting as expected. Instead I want to convert to txt and then parse.

data: ABCC BRL Opening Balance "85,604.65" Closing Balance "85,604.65" EUR Opening Balance 0.19 Closing Balance 0.19 GBP Opening Balance 0.04 Closing Balance 0.04 Calc Balance 453,000 ABCC is name BRL is currency

what I want is to get the name,Currency and then closing amount. Unless there is a calc balance associated with the currency then I want that.

so ouput would look like this:
ABCC,BRL,"85,604.65" ABCC,EUR,0.19 ABCC,GBP,453,000 <--calbal. If I can be pointed in the right direction I would be deeply indebted +to ya's Thanks

Replies are listed 'Best First'.
Re: Parsing problem
by ww (Archbishop) on Aug 17, 2011 at 21:33 UTC
    And the code you wrote that didn't do what you want?

    Post it!

    When we try to help, that durn xtal ball is always broke...

Re: Parsing problem
by Samy_rio (Vicar) on Aug 17, 2011 at 21:48 UTC

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2023-02-05 23:49 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (33 votes). Check out past polls.