On Fri, Mar 28, 2003 at 08:16:29AM +0100, Mark Overmeer wrote:
> I don't think that the POD parser can handle this
> 
>   =docbook
> 
>   <method name="clone" type="instance">
>     <parameters>
>     </parameters>
>   </method>
> 
>   =cut

Well in fact, sure:

    =for docbook
    <method name="clone" type="instance">
      <parameters>
      </parameters>
    </method>

    =cut

For example, pod2html already recognizes "=for html" blocks.

The =begin, =end and =for chunks in POD are designed to implement the
phase 1) and 3) -- all it doesn't do is inheritance solving, which is
what the OO part does.

> There is no parser for that in my suite eirther, but it can easily be
> added to phase 1, and then phase 2 and 3 stay the same.  Different
> packages within a module can even use different parsers!

Exactly the same as =for/=begin/=end, unless I'm mistaken, and I'd
be willing to be corrected.

Thanks,
/Autrijus/

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to