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

_fix_manifest warns about unit values on empty manifest #15

Open
kentfredric opened this issue Apr 6, 2015 · 0 comments
Open

_fix_manifest warns about unit values on empty manifest #15

kentfredric opened this issue Apr 6, 2015 · 0 comments
Labels

Comments

@kentfredric
Copy link

When MANIFEST is a completely empty file, _fix_manifest assumes it has lines and spews warnings:

Use of uninitialized value $manifest[-1] in string eq at /home/kent/perl/forks/ExtUtils-Manifest/lib/ExtUtils/Manifest.pm line 724.
        ExtUtils::Manifest::_fix_manifest("MANIFEST") called at /home/kent/perl/forks/ExtUtils-Manifest/lib/ExtUtils/Manifest.pm line 690
        ExtUtils::Manifest::maniadd(HASH(0x2c2ea80)) called at t/01-filenames.t line 23

Repro:

   path("MANIFEST")->spew_raw("");
   maniadd({ anything => "anyvalue" });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants