|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Bug in App::FatPacker?by elef (Pilgrim) |
| on Dec 05, 2012 at 16:58 UTC ( #1007336=perlquestion: print w/ replies, xml ) | Need Help?? |
|
elef has asked for the
wisdom of the Perl Monks concerning the following question:
I'm trying to pack some modules with App::FatPacker on a Ubuntu 12.4 VM with perl 5.14.2, and I'm running into what looks like a bug in the module.
The first command in the fatpacker synopsis (fatpack trace myscript.pl) runs without error. When I run fatpack packlists-for `cat fatpacker.trace` >packlists, I get the following error message: Use of uninitialized value $_ in hash element at /usr/local/share/perl/5.14.2/App/FatPacker.pm line 110, <> line 42. Line 110 of FatPacker.pm is this: my %found; @found{map +($pack_rev{$INC{$_}}||()), @targets} = (); It's part of this sub: This is just too tricky for me to troubleshoot. Should I install an earlier version of Ubuntu (years ago, I managed to get App::FatPacker to work on Ubuntu 8.04)? EDIT: I did some further testing. A test script that does not load any CPAN modules was processed by fatpacker without errors. The packed script was generated correctly. The actual script I need to process loads Spreadsheet::WriteExcel and Spreadsheet::ParseExcel::Simple, so these are the two modules fatpacker would need to inline. The fatpacker.trace file is as follows:
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||