On Thu, Sep 23, 2004 at 08:51:01PM +0100, Graham Barr wrote: > On 23 Sep 2004, at 20:19, Thomas Klausner wrote: > >Some time ago (Fri, 14 Mar 2003 to be exact) I asked here if there is a > >module to strip all POD from Perl code: > > > >http://www.mail-archive.com/[EMAIL PROTECTED]/msg00709.html > > An issue I would have with that code snippet is that line information > of the original code is lost. I don't know your reasons for wanting > to remove the POD, so it may not be an issue for you. But if you > simply just remove the POD from the file, correlating any warning > back to the original source will require inspecting the stripped file.
Hence inserting #line directives to make it all add back up would be useful in the general case. (but not for what Thomas needs) Nicholas Clark