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

Salve fratris monachi,

I experience problems when I try to convert perl project scripts into standalone exe programs using Komodo IDE 8.5.4 and Perl Dev Kit 6.0 on Windows 7.

This problem occurs for any of projects that I try to convert to exe.

All these projects never report any errors while running as interpreter, but after I activate Tools - Perl Dev Kit - PerlApp in Komodo, the PerlApp starts and after I press the MAKE EXECUTABLE button it reports several errors:

  • Use of uninitialized value in concatenation (.) or string at c:/Perl/lib/warnings.pm line 390.
  • Use of uninitialized value in concatenation (.) or string at c:/Perl/lib/warnings.pm line 390.
  • Use of uninitialized value in concatenation (.) or string at c:/Perl/lib/warnings.pm line 390.
  • Use of uninitialized value in concatenation (.) or string at c:/Perl/lib/warnings.pm line 390.
  • Use of uninitialized value in concatenation (.) or string at c:/Perl/lib/warnings.pm line 390.
  • Use of uninitialized value in concatenation (.) or string at c:/Perl/lib/warnings.pm line 390.
  • Use of uninitialized value in concatenation (.) or string at c:/Perl/lib/warnings.pm line 390.
  • Use of uninitialized value in concatenation (.) or string at c:/Perl/lib/warnings.pm line 390.
  • Use of uninitialized value in pattern match (m//) at c:/Perl/lib/warnings.pm line 390.
  • Argument "UUUUUUUUUUUU" isn't numeric in division (/) at c:/Perl/lib/warnings.pm line 390.
  • Use of uninitialized value in concatenation (.) or string at c:/Perl/lib/warnings.pm line 390.
  • Use of uninitialized value in concatenation (.) or string at c:/Perl/lib/warnings.pm line 390.
  • Use of uninitialized value in concatenation (.) or string at c:/Perl/lib/warnings.pm line 390.
  • Use of uninitialized value in concatenation (.) or string at c:/Perl/lib/warnings.pm line 390.
  • Use of uninitialized value in concatenation (.) or string at c:/Perl/lib/warnings.pm line 390.
  • Use of uninitialized value in concatenation (.) or string at c:/Perl/lib/warnings.pm line 390.
  • Use of uninitialized value in concatenation (.) or string at c:/Perl/lib/warnings.pm line 390.
  • Use of uninitialized value in concatenation (.) or string at c:/Perl/lib/warnings.pm line 390.
  • Use of uninitialized value in pattern match (m//) at c:/Perl/lib/warnings.pm line 390.
  • Argument "UUUUUUUUUUUU" isn't numeric in division (/) at c:/Perl/lib/warnings.pm line 390.
  • Illegal division by zero at c:/Perl/lib/warnings.pm line 390.
  • BEGIN failed--compilation aborted at c:/Perl/lib/threads.pm line 6.
  • Compilation failed in require at pdkcheck line 16.
  • BEGIN failed--compilation aborted at pdkcheck line 17. 'MissAna.pl' had compilation errors.
  • The same projects work on a computer with Windows XP without above specified errors so I have to move all scripts and convert them there.

    The PDK always refers to the same line and the same script - warnings.pm, line 390.

    I'd be grateful for any hints.

    Replies are listed 'Best First'.
    Re: Komodo and Perl Dev Kit
    by LanX (Saint) on Jan 15, 2015 at 08:21 UTC
      > All these projects never report any errors while running as interpreter

      But did you use warnings (and strict) ?

      Cheers Rolf

      PS: Je suis Charlie!

    Re: Komodo and Perl Dev Kit
    by Anonymous Monk on Jan 15, 2015 at 08:25 UTC
      Doesn't PDK come with support? Or is 6.0 some ancient version ... why not get the latest version?