in reply to Cava Packager quick question

Maybe it relates to how cava works internally, from perlvar:

If the program has been given to perl via the switches -e or -E , $0 will contain the string "-e" .

Perhaps asking on the cava mailing list would provide clarification, I've never used it. Out of interest, have you given up on using pp?

Replies are listed 'Best First'.
Re^2: Cava Packager quick question
by rmflow (Beadle) on Mar 25, 2010 at 14:49 UTC
    Thanks a lot for perlvar memo!

    As for pp - I use it also, but it is extremely slow in first run. And it leaves pre-cached files in %TEMP% dir (solution is -C option, but it would mean every run is extremely slow).

      There also is the newly released App::FatPacker, which tries to include all modules that a script uses in the main script file itself. This might speed up the process startup as there are fewer files to be extracted (and scanned by a virus scanner).

      Well I hope you find an answer to your cava problem, or at best a work around. From memory http://par.perl.org/ discusses some methods from creating a 'streamlined executable'.