Skip Menu |

This queue is for tickets about the REST-Neo4p CPAN distribution.

Report information
The Basics
Id: 100837
Status: new
Priority: 0/
Queue: REST-Neo4p

People
Owner: Nobody in particular
Requestors: stesin [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.3004
Fixed in: (no value)



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
Subject: It's Ok but... Can't get nodes by label
From: stesin [...] gmail.com
That was my fault :( sure I needed to do $node = pop @nodes instead. Sorry for that. Срд Дек 10 13:18:56 2014, stesin@gmail.com писал: Show quoted text
> 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