in reply to Re^8: Convertion Perl Script to Exe with PAR::Packer pp
in thread Convertion Perl Script to Exe with PAR::Packer pp

i've tried
$PAR::LibCache{$ENV{PAR_PROGNAME}}
and
$ENV{PAR_PROGNAME}
Both of than return:
Iniciando o envio de e-mails... IO error: opening \jofalista.xlsx for read : No such file or directory + at C:/strawberry/perl/vendor/lib/Archive/Zip/Archive.pm line 572. + Archive::Zip::Archive::read(Archive::Zip::Archive=HASH(0x455268) +, "\\jofalista.xlsx") called at C:/strawberry/perl/site/lib/Spreadshe +et/XLSX.pm line 33 Spreadsheet::XLSX::new("Spreadsheet::XLSX", "\\jof +alista.xlsx") called at gmail_att.pl line 14 Cannot open \jofalista.x +lsx as Zip archive at C:/strawberry/perl/site/lib/Spreadsheet/XLSX.pm + line 33. SYSTEM ERROR in executing gmail_att.pl: 512 at C:/strawberr +y/perl/site/lib/Module/ScanDeps.pm line 1351.

Replies are listed 'Best First'.
Re^10: Convertion Perl Script to Exe with PAR::Packer pp
by Corion (Patriarch) on Jul 25, 2014 at 17:26 UTC

    This is weird. This means that PAR::Environment is inaccurate.

    I don't know how to help further - most likely, you have to dump %ENV and see what is in there once your program is run using PAR.