[rt.cpan.org #120041] --exclude gets confused by missing modules

[email protected] ("Roderich Schupp via RT")
Newsgroups perl.par
Message-ID <[email protected]>
Mon Jan 30 13:07:43 2017: Request 120041 was acted upon.
Transaction: Correspondence added by RSCHUPP
       Queue: PAR-Packer
     Subject: --exclude gets confused by missing modules
   Broken in: (no value)
    Severity: (no value)
       Owner: RSCHUPP
  Requestors: [email protected]
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=120041 >


On 2017-01-30 09:38:26, [email protected] wrote:

> It should be allowed to --exclude packages that are not installed. It

Agreed :)

> C:\Users\NEU\Desktop>pp simple.pl --exclude DBD::PgPP
> Odd number of elements in hash assignment at c:/strawberry-5.24.0.1-
> 64/perl/site/lib/PAR/Packer.pm line 729.

This error message puzzled me for a moment, I would have expected 
"Use of uninitialized value in list assignment" when _find_in_inc can't find anything.
But... it's the context, stupid! Anyway, fixed on GitHub, will be in the next release.

Cheers, Roderich
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.