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 => 1-1-1900
amount => 9999
name => 'from FOO'
},
{
date => 1-2-1900
amount => 8888
name => 'from BAR'
}
]
}
];
to get the date of the first transaction I tried:
print $ofx_data->[0]{tranactions}->[0]{date};
but that fails.
How do I access this inner hash?
print $ofx_data->[0]{transactions}->[0]{date}; # check spelling :)
--
Just my 0.00000002 million dollars worth,
Shawn
Programming is as much about organization and communication
as it is about coding.
I like Perl; it's the only language where you can bless your
thingy.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/