jhthorsen / mojolicious-plugin-openapi

OpenAPI / Swagger plugin for Mojolicious
54 stars 44 forks source link

Use of uninitialized value in length warning when using referring to URL #96

Closed jlcooper closed 6 years ago

jlcooper commented 6 years ago

When I use $ref to reference another schema by URL I get the following warning

Use of uninitialized value in length at cpan/lib/perl5/Mojo/IOLoop/Stream.pm line 37.

I've put together the an example script that shows the warning in action - exampleScript.txt

jhthorsen commented 6 years ago

Which version of perl do you have?

jlcooper commented 6 years ago

And sure enough the warning goes away with a newer version of Perl - Thanks.