Re: iterating over a hash to print it

2009-08-11 Thread Shawn H. Corey
Nick Brown wrote: Thanks. That got me what I was after. What if one of elements in inner has was a list of hashes, how would I access an element of this has. Something like: [ { account_id => 123456 transactions => [ { date =>

Re: iterating over a hash to print it

2009-08-11 Thread Nick Brown
Thanks. That got me what I was after. What if one of elements in inner has was a list of hashes, how would I access an element of this has. Something like: [ { account_id => 123456 transactions => [ { date => 1-1-1900

Re: iterating over a hash to print it

2009-08-07 Thread John Refior
On Thu, Aug 6, 2009 at 3:36 PM, Nick Brown wrote: > Sorry for the late reply. > > I actually switched to using: > > use Finance::OFX::Parse::Simple; > > http://search.cpan.org/dist/Finance-OFX-Parse-Simple/lib/Finance/OFX/Parse/Simple.pm > > and this does appear to parse the data. > >my $ofx_

Re: iterating over a hash to print it

2009-08-06 Thread Nick Brown
Sorry for the late reply. I actually switched to using: use Finance::OFX::Parse::Simple; http://search.cpan.org/dist/Finance-OFX-Parse-Simple/lib/Finance/OFX/Parse/Simple.pm and this does appear to parse the data. my $ofx_parser = Finance::OFX::Parse::Simple->new; my $ofx_data = $ofx_

Re: iterating over a hash to print it

2009-07-19 Thread Brandon Fosdick
Sorry I've been too busy lately to pay attention to this thread. Did you get your problem sorted out? BTW, did you trying using the UserAgent class to fetch the statement? The Response object was never really meant to be used like that. Finance::OFX doesn't yet support the latest version of O

Re: iterating over a hash to print it

2009-07-16 Thread Steve Bertrand
Nick Brown wrote: > 2009/7/16 John W. Krahn : >> Nick Brown wrote: >>> On Jul 15, 11:15 am, jwkr...@shaw.ca (John W. Krahn) wrote: Nick Brown wrote: > I'm trying to use Finance::OFX::Response to use a ofx statement I've > it downloaded from by bank website. > http://search.cpan.org

Re: iterating over a hash to print it

2009-07-16 Thread Nick Brown
2009/7/16 John W. Krahn : > Nick Brown wrote: >> >> On Jul 15, 11:15 am, jwkr...@shaw.ca (John W. Krahn) wrote: >>> >>> Nick Brown wrote: I'm trying to use Finance::OFX::Response to use a ofx statement I've it downloaded from by bank website. http://search.cpan.org/~bfoz/p5-Fina

Re: iterating over a hash to print it

2009-07-16 Thread John W. Krahn
Nick Brown wrote: On Jul 15, 11:15 am, jwkr...@shaw.ca (John W. Krahn) wrote: Nick Brown wrote: I'm trying to use Finance::OFX::Response to use a ofx statement I've it downloaded from by bank website. http://search.cpan.org/~bfoz/p5-Finance-OFX-20080303/lib/Finance/OFX/... However there I'm get

Re: iterating over a hash to print it

2009-07-16 Thread Nick Brown
On Jul 15, 11:15 am, jwkr...@shaw.ca (John W. Krahn) wrote: > Nick Brown wrote: > > I'm trying to use Finance::OFX::Response to use a ofx statement I've > > it downloaded from by bank website. > >http://search.cpan.org/~bfoz/p5-Finance-OFX-20080303/lib/Finance/OFX/... > > However there I'm getting

Re: iterating over a hash to print it

2009-07-15 Thread John W. Krahn
Nick Brown wrote: I'm trying to use Finance::OFX::Response to use a ofx statement I've it downloaded from by bank website. http://search.cpan.org/~bfoz/p5-Finance-OFX-20080303/lib/Finance/OFX/Response.pm However there I'm getting the following perl compilation error: Type of arg 1 to each must b

iterating over a hash to print it

2009-07-15 Thread Nick Brown
I'm trying to use Finance::OFX::Response to use a ofx statement I've it downloaded from by bank website. http://search.cpan.org/~bfoz/p5-Finance-OFX-20080303/lib/Finance/OFX/Response.pm However there I'm getting the following perl compilation error: Type of arg 1 to each must be hash (not subrouti