[rt.cpan.org #119224] Issue about Can't locate loadable object for module

"Roderich Schupp via RT" <[email protected]>
Newsgroups gmane.comp.lang.perl.par
Message-ID <[email protected]>
Wed Dec 14 14:33:26 2016: Request 119224 was acted upon.
Transaction: Correspondence added by RSCHUPP
       Queue: PAR
     Subject: Issue about Can't locate loadable object for module
   Broken in: 1.013
    Severity: (no value)
       Owner: RSCHUPP
  Requestors: [email protected]
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=119224 >


Again, thanks to both of you. Puzzle solved!

A bit of explanation: When a packed executable runs, its @INC will only contain
paths inside of the cache area (usually /tmp/par-XXX/SOME-SHA1) (plus some CODE refs).
The self test will check for this.
 
However, this is only correct once the bootstrap phase is finished. 
During bootstrap we might still see remnants of the perl built-in @INC, but if
everythings works as planned we do not call any operation that causes a search
in @INC. Except for stupid mistakes which go undetected if we're running the executable
in the same environment where we packed it :(

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.