in reply to Re: "Unexpected end of stream while looking for line"
in thread "Unexpected end of stream while looking for line"
Can you provide your suspected code? (give only the essential)
If I knew what was essential to be provided, I'd have done it in the first place. Here's some of my code:
#!/usr/bin/perl use strict; use warnings; use HTTP::Tiny; use JSON; use Test::JSON; use utf8::all; use URI::Escape; use Smart::Comments '###'; use List::Util qw(min max); use Statistics::Basic qw(median mode); # ... my $http = HTTP::Tiny->new(timeout => 6000); # ... $response = $http->post($url, {headers=>{Authorization=>"token $access_token +"}, content=>$query}); die $! unless is_valid_json $response->{content}; # ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: "Unexpected end of stream while looking for line"
by GotToBTru (Prior) on Jan 08, 2016 at 13:22 UTC | |
by msh210 (Monk) on Jan 08, 2016 at 19:52 UTC | |
by afoken (Chancellor) on Jan 08, 2016 at 20:07 UTC |