in reply to Re: stand alone executable using "pp -o" wont stand alone!
in thread stand alone executable using "pp -o" wont stand alone!

I am using activeperl (will remember to mention this next time I post). Also since I want to use this as a standalone executable perldiag.pod will be missing (as will the rest of PERL) on any machine that this runs on. I'll try the use warnings and the one liner test. Thank you for the extremely quick replies.
  • Comment on Re^2: stand alone executable using "pp -o" wont stand alone!

Replies are listed 'Best First'.
Re^3: stand alone executable using "pp -o" wont stand alone!
by Plotinus (Sexton) on Dec 17, 2004 at 12:12 UTC
    Thank you monks of distinction ;-)  pp -o out.exe -e 'print "Hi!"' didn't run but  pp -o out.exe -e "print \"Hi!\"" did which proved that the basic installation worked. Then I replaced 'use diagnostics' with 'use warnings' and that did the trick. Bit confused though as to why simply removing the line 'use warnings' didn't fix the fault.