thanks for your reply. I understand I need to store the result in a scalar and thanks for your suggested code, which I've seen works in my env.
it clearly works for "$data->{title}"; as this is a single result, but when "$data->{genres}"; this returns ARRAY(gobblydegook) as expected.
how do I effectively test if a result is an array or not, and then jump into it? or should I be converting this into a hash and trying to look at key/value combinations?
In reply to Re^2: Array / Hash Confusion!
by andy503
in thread Array / Hash Confusion!
by andy503
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |