Subject: | Can't get nodes by label |
Trying to get nodes by label, code is
use REST::Neo4p;
use REST::Neo4p::Node;
use REST::Neo4p::Index;
undef @nodes;
@nodes = REST::Neo4p->get_nodes_by_label( 'SomeLabelOfMine' );
...
while( $node = unshift(@nodes) ) {
$str = $node->get_property( 'client_name' );
...
};
got diagnostic:
Can't locate object method "get_property" via package "247419" (perhaps you forgot to load "247419"?) at myscript.pl line XX.
What I am doing wrong?
Thanks in advance!
WBR,
Andrii