Subject: | get_index_by_name, multiple warnings |
Date: | Mon, 15 Oct 2012 18:45:51 +0400 |
To: | bug-rest-neo4p [...] rt.cpan.org |
From: | DOBRO Sergei <vertolet666 [...] yandex.ru> |
Hi,
I'm trying to get the index by its name, but if it does not exist I get multiple warnings
use REST::Neo4p;
REST::Neo4p->connect('http://127.0.0.1:7474');
my $idx = REST::Neo4p->get_index_by_name('game_owner_idx','node');
OUTPUT:
Use of uninitialized value $self_url in substitution (s///) at /usr/lib/perl5/site_perl/5.16.1/REST/Neo4p/Entity.pm line 69.
Use of uninitialized value $self_url in pattern match (m//) at /usr/lib/perl5/site_perl/5.16.1/REST/Neo4p/Entity.pm line 70.
Use of uninitialized value $obj in hash element at /usr/lib/perl5/site_perl/5.16.1/REST/Neo4p/Entity.pm line 76.
Use of uninitialized value $obj in hash element at /usr/lib/perl5/site_perl/5.16.1/REST/Neo4p/Entity.pm line 80.
Use of uninitialized value $obj in hash element at /usr/lib/perl5/site_perl/5.16.1/REST/Neo4p/Entity.pm line 81.
Use of uninitialized value $obj in hash element at /usr/lib/perl5/site_perl/5.16.1/REST/Neo4p/Entity.pm line 82.
Use of uninitialized value $obj in hash element at /usr/lib/perl5/site_perl/5.16.1/REST/Neo4p/Entity.pm line 83.
Use of uninitialized value $obj in hash element at /usr/lib/perl5/site_perl/5.16.1/REST/Neo4p/Entity.pm line 84.
Use of uninitialized value $obj in hash element at /usr/lib/perl5/site_perl/5.16.1/REST/Neo4p/Entity.pm line 85.
Use of uninitialized value $obj in hash element at /usr/lib/perl5/site_perl/5.16.1/REST/Neo4p/Entity.pm line 92.
Use of uninitialized value in hash element at /usr/lib/perl5/site_perl/5.16.1/REST/Neo4p/Entity.pm line 329.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.16.1/REST/Neo4p/Index.pm line 44.
Use of uninitialized value in hash element at /usr/lib/perl5/site_perl/5.16.1/REST/Neo4p/Entity.pm line 329.
Use of uninitialized value in hash element at /usr/lib/perl5/site_perl/5.16.1/REST/Neo4p/Entity.pm line 336 during global destruction.
Use of uninitialized value in hash element at /usr/lib/perl5/site_perl/5.16.1/REST/Neo4p/Entity.pm line 337 during global destruction.
Use of uninitialized value in hash element at /usr/lib/perl5/site_perl/5.16.1/REST/Neo4p/Entity.pm line 337 during global destruction.
Use of uninitialized value in hash element at /usr/lib/perl5/site_perl/5.16.1/REST/Neo4p/Entity.pm line 337 during global destruction.
Use of uninitialized value in hash element at /usr/lib/perl5/site_perl/5.16.1/REST/Neo4p/Entity.pm line 337 during global destruction.
Use of uninitialized value in hash element at /usr/lib/perl5/site_perl/5.16.1/REST/Neo4p/Entity.pm line 337 during global destruction.
Use of uninitialized value in hash element at /usr/lib/perl5/site_perl/5.16.1/REST/Neo4p/Entity.pm line 337 during global destruction.
Use of uninitialized value in hash element at /usr/lib/perl5/site_perl/5.16.1/REST/Neo4p/Entity.pm line 337 during global destruction.
Use of uninitialized value in delete at /usr/lib/perl5/site_perl/5.16.1/REST/Neo4p/Entity.pm line 339 during global destruction.
Is it possible to make a correct check if it exists?