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

Did you maybe forget to package the XLSX file as an additional file?

Maybe now is a good moment to read the pp manpage?

  • Comment on Re^4: Convertion Perl Script to Exe with PAR::Packer pp

Replies are listed 'Best First'.
Re^5: Convertion Perl Script to Exe with PAR::Packer pp
by marchiore (Initiate) on Jul 25, 2014 at 12:56 UTC
    i have tried
    pp -x -o -a "jofalista.xlsx" gmail_att.pl
    but without success. If i package the file with -a can i change the xlsx after the compilation?? UPDATE: it works when i change in the script "__FILE__" to "$0" but i can't change the information in the xlsx. is it possible?

      No. You get the file embedded in the compiled result.

      Maybe you want to explain some more about why you're packaging things and what problems you're actually trying to solve?

        The problem is: i create this script to send files attached on a e-mail. The e-mail list is xlsx where i have the colunm 0 with the name and colunm is the e-mail to send than i see the name of the file (is the same value of colunm 0) and send the e-mail. The problem is if i need to change the xlsx i'll have to convert again but this script will run on the user pc.