Subject: | Neo4p batches |
Date: | Tue, 14 Jan 2014 10:17:22 +0000 |
To: | bug-REST-Neo4p [...] rt.cpan.org |
From: | Kevin Pluck <kevin.pluck [...] ivendi.com> |
Hi,
I was playing with the Neo4p batch module but fell at the first hurdle; I
can't seem to create a node with lables as I can only add labels after a
node has been generated but, of course, in batch mode the node hasn't been
created yet.
batch {
my $dealerNode = REST::Neo4p::Node->new({source => $source});
$dealerNode->set_labels("Dealer");
...
returns Can't call method "set_labels" on an undefined value. Is it
possible to create a new node with labels?
Also I had to turn off strict "refs" in Entity.pm as I was getting "Can't
use string ("{3}") as a HASH ref while "strict refs" in use at
C:/strawberry/perl/site/lib/REST/Neo4p/Entity.pm line 67"
Your help would be greatly appreciated.
Thanks.
--
*Kevin Pluck*
*i**V**endi Limited*