Background: The issue is happening on only 1 system which is very strange. Other systems with the exact same OS (RedHat 7.2) and same binary don't see this issue.
By default, I am using '-C' (--clean) 'pp' option to build the packaged binary.
On this system, when running it, it got the "Can't locate File/Temp.pm in @INC .." type error. See below. Since other systems were not having this issue, the package must be there. But just to make double-sure, I compiled with "-M File::Temp". It did not fix the issue.
So then to see if it really was missing, I compiled without the '-C', and it worked! No issues.
Any ideas?
Here is the full output - none of the output is from mytest itself
$ ./mytest -v Invalid argument at -e line 119. Can't locate File/Temp.pm in @INC (@INC contains: /home/shared/perl5/R +EL5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/x86_64-linux /hom +e/shared/perl5/REL5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3 / +home/shared/perl5/REL5/perlbrew/perls/perl-5.16.3/lib/5.16.3/x86_64-l +inux /home/shared/perl5/REL5/perlbrew/perls/perl-5.16.3/lib/5.16.3 .) + at -e line 6. END failed--call queue aborted at -e line 616.
pp -v -> PAR Packager, version 1.041 (PAR version 1.015)
In reply to Pelr packer pp with -C fails else ok by dkhosla1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |