Re: POD doesn't capture code semantics

[email protected] (Andy Armstrong)
Newsgroups perl.qa,perl.pod-people
Message-ID <[email protected]>
On 5 Mar 2008, at 19:05, David Golden wrote:
> Unfortunately, I just tested this and it isn't passed through to a
> parser automatically -- so this will only work for metadata, not
> actual documentation


So

=for :method <metadata>

=head2 C<my_method>

=cut

sub my_method {
}

seems to work. And perlpodspec allows text after that form of =for.

-- 
Andy Armstrong, Hexten
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.