alw has asked for the wisdom of the Perl Monks concerning the following question:

When I use the -i flag with pp I get a file named parlXYZJKLMN.exe in addition to myApp.exe. Without the -i flag this file does not get created. My simple question is what is it used for? The app runs fine if it's deleted or not and the icon is changed from the camel to the file I specify.

Replies are listed 'Best First'.
Re: changing an icon with pp -i
by shmem (Chancellor) on Jul 17, 2007 at 17:24 UTC
    My simple question is what is it used for?

    Hmm... your question has been sitting around here some time...

    I cannot answer your question, since I don't have pp and am running a system which doesn't have EXE files. But to find out you could read the documentation of pp, dig into its code, or run the program with that funny file name and watch its outcome. Maybe you want to backup your data first :-) If you have a means of comparing that EXE file to the expected and regularily produced App.exe, that could give you more hints.

    BTW, lots of programs create temporary files, itermediate files or files whose purpose has been forgotten...

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
      Not a big deal. I can run it and I get a usage message, so it is something left over after the fact. I delete it with no adverse effects and the real .exe program does not seem to mind. D:\perl\vls_exp>parlJlZtAZN.exe Usage: parlJlZtAZN.exe -Alib.par -Idir -Mmodule src.par progra m.pl parlJlZtAZN.exe -b -Ooutfile src.par D:\perl\vls_exp> not going to lose sleep.....