{"action":"opened","issue":{"url":"https://api.github.com/repos/jdv/data-selector/issues/1","labels_url":"https://api.github.com/repos/jdv/data-selector/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/jdv/data-selector/issues/1/comments","events_url":"https://api.github.com/repos/jdv/data-selector/issues/1/events","html_url":"https://github.com/jdv/data-selector/issues/1","id":119287607,"number":1,"title":"fix traversal for other than array or hash in data","user":{"login":"jdv","id":47612,"avatar_url":"https://avatars.githubusercontent.com/u/47612?v=3","gravatar_id":"","url":"https://api.github.com/users/jdv","html_url":"https://github.com/jdv","followers_url":"https://api.github.com/users/jdv/followers","following_url":"https://api.github.com/users/jdv/following{/other_user}","gists_url":"https://api.github.com/users/jdv/gists{/gist_id}","starred_url":"https://api.github.com/users/jdv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdv/subscriptions","organizations_url":"https://api.github.com/users/jdv/orgs","repos_url":"https://api.github.com/users/jdv/repos","events_url":"https://api.github.com/users/jdv/events{/privacy}","received_events_url":"https://api.github.com/users/jdv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-28T11:33:06Z","updated_at":"2015-11-28T11:33:06Z","closed_at":null,"body":"[jdv@wieldy ~]$ cat test.pl \r\nuse strict;\r\nuse warnings;\r\n\r\nuse Data::Selector;\r\nuse JSON::PP ();\r\n\r\nData::Selector->apply_tree({\r\n    selector_tree => Data::Selector->parse_string({\r\n        selector_string => '*.*.*.*.*.*',\r\n    }),\r\n    data_tree => {\r\n        foo => {\r\n            bar => {\r\n                baz1 => bless({ hk1 => 'hv1', hk2 => 'hv2', }, 'TEST_H'),\r\n                baz22 => bless([ 'a1', 'a2', ], 'TEST_A'),\r\n                baz32 => [ 'a', 'b', 'c', ],\r\n                baz42 => JSON::PP::true,\r\n            },\r\n        },\r\n    },\r\n});\r\n[jdv@wieldy ~]$"}}