in reply to Re^2: Perl2Exe and POD
in thread Perl2Exe and POD

I'm not sure what you are suggesting.

I showed you one solution, based on PAR. perl2exe has similar caveats, and a similar solution (give pod2usage a text file with pod to read)

When running the EXE, it should work the same as running the script e.g.,.... Shouldn't this behave the same? Thanks

No. pod2usage reads $0 (a text file, a perl program) unless you tell it different. With perl2exe $0 is the binary file .exe, so you need to tell pod2usage to read a text file, not the .exe

Replies are listed 'Best First'.
Re^4: Perl2Exe and POD
by MKJ747 (Acolyte) on Mar 18, 2011 at 16:41 UTC

    OK, that makes more sense now. Thanks for the additional explanation. I will try it out.