Hello again drli611,
I’ve successfully wrapped your script with PAR::Packer and run it on my system, without problem. (There are a couple of warnings you should attend to, but that’s not relevant here.) For the record, my environment is as follows:
- Windows 8.1, 64-bit
- Strawberry Perl: This is perl 5, version 22, subversion 1 (v5.22.1) built for MSWin32-x64-multi-thread
- PAR::Packer version 1.029
- File::Temp version 0.2304
So, as dasgar says, it looks like a permissions issue. The error you report is Error removing C:/Users/DANIEL~1.LEG/AppData/Local/Temp/parl_MCNJgn.exe at C:/Strawberry/perl/lib/File/Temp.pm line 762, <DATA> line 1., and the relevant line in File::Temp is:
unlink $file->[1] or warn "Error removing ".$file->[1];
so the message is actually a warning indicating that the call to unlink failed. I’m sorry, I can’t explain why this is happening, but hopefully one of the other monks will know.
Anyway, hope that helps,
| [reply] [d/l] [select] |