Mon Dec 05 04:24:03 2011: Request 72954 was acted upon.
Transaction: Ticket created by RSCHUPP
       Queue: Module-ScanDeps
     Subject: (No subject given)
   Broken in: 1.07
    Severity: Normal
       Owner: Nobody
  Requestors: [email protected]
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=72954 >


Packing (PAR::Packer) the following script

  binmode STDOUT, ":encoding(UTF-8)";

results in 

  Unknown PerlIO layer "encoding" at script/foo.pl line 5.

Reason: ":encoding(UTF-8)" is recognized by M::SD
(cf. line ~915 in scan_chunk), but has no consequence, because
UTF-8 isn't handled by an "external" encoding module.
It also fails to include Encode.pm which is needed at script runtime
as well.

Solution: make the rule always return Encode.pm (plus potentially
other modules).
 

Reply via email to