On 28 Jul 2004 at 14:00, Alan Stewart wrote:

> I probably shouldn't have said "broken", but not "classic". PodStrip.pm is looking 
> specifically for the POD commands listed in the perlpod doc. The commands "=header" 
> and 
> "=usage" are not defined there. I'll look closer at what PodStrip does.

Well, that's what it is supposed to do. There was a bug in the regex. The expression 
for the defined command was inside ()? and not required before a =cut. If you had only 
non-standard POD and a =cut, only the =cut was removed and the rest of the script 
became POD.

Attached is a patched PodStrip.pm. Rename PodStrip.dat to PodStrip.zip.

Alan Stewart

The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  PodStrip.dat
     Date:  28 Jul 2004, 17:54
     Size:  1134 bytes.
     Type:  ZIP-archive

Attachment: PodStrip.dat
Description: Zip archive

Reply via email to