is a subroutine call ?$data->()
The subroutine call is completely different from yout hashref-dereference in
What you seem to be looking for (It is unclear from your description) is something like:$data->{somekey1}{somekey2}
$y='{channel}{item}'; foreach my $e (@{eval("\$data->$y")}){...
I hope life isn't a big joke, because I don't get it.
-SNL
In reply to Re: OOPS and Eval Statement on Strings
by NetWallah
in thread OOPS and Eval Statement on Strings
by roncoe2000
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |