Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

die creates new warning on missing newline #74

Open
oalders opened this issue Dec 23, 2021 · 0 comments
Open

die creates new warning on missing newline #74

oalders opened this issue Dec 23, 2021 · 0 comments

Comments

@oalders
Copy link
Member

oalders commented Dec 23, 2021

Got this report via email:


Using Net::HTTP::Methods I very often receive errors:

Use of uninitialized value $line in concatenation (.) or string at /opt/perl5.28.2/lib/site_perl/5.28.2/Net/HTTP/Methods.pm line 534.
Use of uninitialized value $line in concatenation (.) or string at /opt/perl5.28.2/lib/site_perl/5.28.2/Net/HTTP/Methods.pm line 534.

            die "Missing newline after chunk data: '$line'"
                if !defined($line) || $line ne "";

When $line is undefined it tried to print it in die statement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant