http://www.perlmonks.org?node_id=999719


in reply to Re^11: Script using Getopt::Long running endlessly after beeing packaged by pp
in thread Script using Getopt::Long running endlessly after beeing packaged by pp

Nop, some BEGIN failed--compilation aborted :

# ./script The following parameter was passed in the call to DateTime::Format::Bu +ilder::Parser::create_single_parser but was not listed in the validat +ion options: params at DateTime/Format/Builder/Parser.pm line 311 DateTime::Format::Builder::Parser::create_single_parser('undef +', 'params', 'ARRAY(0x541a680)', 'length', 8, 'regex', 'Regexp=SCALAR +(0x541a640)') called at DateTime/Format/Builder/Parser.pm line 501 DateTime::Format::Builder::Parser::sort_parsers('DateTime::For +mat::Builder::Parser', 'HASH(0x53a7e40)', 'ARRAY(0x53a73d0)') called +at DateTime/Format/Builder/Parser.pm line 397 DateTime::Format::Builder::Parser::create_multiple_parsers('Da +teTime::Format::Builder::Parser', 'HASH(0x53a7e40)', 'HASH(0x541a660) +', 'HASH(0x5411a30)', 'HASH(0x5411ae0)', 'HASH(0x5411b80)', 'HASH(0x5 +411c30)', 'HASH(0x5411d50)', 'HASH(0x5411e60)', ...) called at DateTi +me/Format/Builder/Parser.pm line 600 DateTime::Format::Builder::Parser::create_parser('DateTime::Fo +rmat::Builder::Parser', 'ARRAY(0x53547b0)', 'HASH(0x541a660)', 'HASH( +0x5411a30)', 'HASH(0x5411ae0)', 'HASH(0x5411b80)', 'HASH(0x5411c30)', + 'HASH(0x5411d50)', 'HASH(0x5411e60)', ...) called at DateTime/Format +/Builder.pm line 156 DateTime::Format::Builder::create_parser('DateTime::Format::Bu +ilder', 'ARRAY(0x5436600)') called at DateTime/Format/Builder.pm line + 174 DateTime::Format::Builder::create_end_parser('DateTime::Format +::Builder', 'ARRAY(0x5436600)') called at DateTime/Format/Builder.pm +line 104 DateTime::Format::Builder::create_class('undef', 'parsers', 'H +ASH(0x5439770)') called at DateTime/Format/ISO8601.pm line 173 require DateTime/Format/ISO8601.pm called at script/script.pl +line 8 main::BEGIN() called at DateTime/Format/ISO8601.pm line 0 eval {...} called at DateTime/Format/ISO8601.pm line 0 require main called at /usr/lib/perl5/site_perl/5.8.8/PAR.pm l +ine 636 PAR::_run_member('Archive::Zip::ZipFileMember=HASH(0x4cd7f60)' +, 1) called at script/main.pl line 26 require main called at /usr/lib/perl5/site_perl/5.8.8/PAR.pm l +ine 636 PAR::_run_member('Archive::Zip::ZipFileMember=HASH(0x4cd7d90)' +) called at /usr/lib/perl5/site_perl/5.8.8/PAR.pm line 428 PAR::import('PAR') called at -e line 953 eval {...} called at -e line 209 __par_pl::BEGIN() called at DateTime/Format/ISO8601.pm line 0 eval {...} called at DateTime/Format/ISO8601.pm line 0 Compilation failed in require at script/script.pl line 8. BEGIN failed--compilation aborted at script/script.pl line 8.

Replies are listed 'Best First'.
Re^13: Script using Getopt::Long running endlessly after beeing packaged by pp
by Anonymous Monk on Oct 18, 2012 at 13:08 UTC

    Try adding

    -M DateTime -M DateTime::Duration -M DateTime::Format::Builder -M DateTime::Format::Builder::Parser -M DateTime::Format::Builder::Parser::Dispatch -M DateTime::Format::Builder::Parser::Quick -M DateTime::Format::Builder::Parser::Regex -M DateTime::Format::Builder::Parser::Strptime -M DateTime::Format::Builder::Parser::generic -M DateTime::Format::ISO8601 -M DateTime::Helpers -M DateTime::Infinite -M DateTime::Locale -M DateTime::Locale::Base -M DateTime::Locale::Catalog -M DateTime::Locale::en -M DateTime::Locale::en_US -M DateTime::Locale::root -M DateTime::TimeZone -M DateTime::TimeZone::Catalog -M DateTime::TimeZone::Floating -M DateTime::TimeZone::Local -M DateTime::TimeZone::OffsetOnly -M DateTime::TimeZone::UTC ];

      Waow, that's quite a list, but unfortunately it had no effects, I'm still getting the errors I copy/pasted you earlier...

        In that case, send it upstream :/