Subject: | REST::Neo4p::Agent->new() Does Not Have a Default agent_module |
Date: | Mon, 30 Jun 2014 15:35:45 -0700 |
To: | "bug-REST-Neo4p [...] rt.cpan.org" <bug-REST-Neo4p [...] rt.cpan.org> |
From: | Steve Siano <steve.siano [...] yahoo.com> |
The Synopsis and Description of
http://search.cpan.org/~majensen/REST-Neo4p-0.2252/lib/REST/Neo4p/Agent.pm
indicate that REST::Neo4p::Agent->new() should have a default agent_module => 'LWP::UserAgent'.
However, if I run
my $agent = REST::Neo4p::Agent->new();
I get the following error:
No user agent module specified at /usr/local/share/perl/5.18.2/REST/Neo4p/Agent.pm line 26.
There is no error and everything works fine with
my $agent = REST::Neo4p::Agent->new( agent_module => 'LWP::UserAgent' );
So it seems like there is no longer a default value for agent_module.
Perl:
$ perl -v
This is perl 5, version 18, subversion 2 (v5.18.2) built for x86_64-linux-gnu-thread-multi
(with 41 registered patches, see perl -V for more detail)
System:
$ uname -a
Linux <host> 3.13.0-30-generic #54-Ubuntu SMP Mon Jun 9 22:45:01 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Sincerely,
Steve Siano