in reply to Re: Par Packer and script extensions
in thread Par Packer and script extensions

the resultung executable does nothing when I try to run it and no error messages are displayed. I unpacked the executable and found no addition modules inside (only main.pl and myscript.plw), i.e. myscript.plw uses Tk, but no traces of Tk inside packed executable.

If I rename myscript.plw to myscript.pl then pp myscript.pl does what I need and everything works fine.

Perl info:
This is perl, v5.10.0 built for MSWin32-x86-multi-thread

Replies are listed 'Best First'.
Re^3: Par Packer and script extensions
by marto (Cardinal) on Mar 24, 2010 at 12:31 UTC

    Then some of your options are:

    • Debug the problem and find out why this is happening (perhaps something to do with how PAR/ Module::ScanDeps are used).
    • Try including modules explicitly when calling pp as described in the documentation.
    • Don't name your scripts with .plw extensions.