On Wed, 2003-08-06 at 12:01, [EMAIL PROTECTED] wrote: > That is not true. It merely strips POD sections. > > > I tried to pack some app that uses Net::LDAP::Constant which reads and > > parses its own POD located after __DATA__.
I stand corrected: stuff in __DATA__ gets packed in _except_ POD stuff. Unfortunately this applies to Net::LDAP::Constant, but setting PAR_VERBATIM=1 provides a workaround. > I might need to think of a heuristics that can selectively turn off > POD stripping for some modules... Any suggestions are welcome. One heuristic might be to turn off POD stripping beyond __DATA__ :) Another might be if you detect "use Pod::Usage". BTW, I noticed that the packer puts a "#line nnn" directive into the __DATA__ section which might cause problems. Cheers, Roderich
