> I recently started deploying my scripts compiled with PAR, > and noticed that pod2usage doesn't work with those binaries anymore. > Win32::GUI apps even crash on ms windows. > > Sure, after > pp -o myscript myscript.pl; ./myscript $0 is a binary and > Pod::Usage breaks.
It's supposed to work: though $0 is a binary, Pod::Usage will be "redirected" to the original script contained in the PAR archive inside the binary. Even __DATA__ works. Can you give an example that breaks? Pod::Usage works fine for me on Linux and PAR-0.87: I just tried with the example from the Pod::Usage pod. So your problem is probably specific to Windows. Cheers, Roderich
