Subject: | Illegal field name '' at /usr/local/share/perl/5.14.2/HTTP/Request/Common.pm line 115. |
Date: | Mon, 1 Dec 2014 16:14:01 +0000 |
To: | bug-WWW-Splunk [...] rt.cpan.org |
From: | Marc Girod <marc.girod [...] gmail.com> |
Hello,
Thank you for this useful package.
I get stuck however in:
Illegal field name '' at
/usr/local/share/perl/5.14.2/HTTP/Request/Common.pm line 115.
and to be honest, I cannot see how it might be otherwise...
@_ is always empty on line 109, so that my trace is:
HTTP::Request::Common::_simple_req(/usr/local/share/perl/5.14.2/HTTP/Request/Common.pm:115):
115: $req->push_header($k, $v);
DB<8> x $k,$v
0 undef
1 undef
DB<9> T
$ = HTTP::Request::Common::_simple_req(undef, undef) called from file
`/usr/local/share/perl/5.14.2/HTTP/Request/Common.pm' line 20
$ = HTTP::Request::Common::GET('https://splunk-api.crz.salesforce.com:8214/services/search/jobs/1417448937.342310',
undef) called from file
`/usr/local/share/perl/5.14.2/WWW/Splunk/API.pm' line 154
$ = WWW::Splunk::API::request(ref(WWW::Splunk), ref(CODE),
'/search/jobs/1417448937.342310') called from file
`/usr/local/share/perl/5.14.2/WWW/Splunk/API.pm' line 99
$ = WWW::Splunk::API::get(ref(WWW::Splunk),
'/search/jobs/1417448937.342310') called from file
`/usr/local/share/perl/5.14.2/WWW/Splunk.pm' line 113
$ = WWW::Splunk::search_done(ref(WWW::Splunk), 1417448937.342310)
called from file `/usr/local/share/perl/5.14.2/WWW/Splunk.pm' line 129
. = WWW::Splunk::poll_search(ref(WWW::Splunk), 1417448937.342310)
called from file `./splunk1' line 39
Thanks,
Marc