NAME

Perl6::Pod::Block::format - handle =format block

SYNOPSIS

=for format :xml
<root><test/></root>

=for format :xhtml
<div><br/></div>

=for format :docbook
<title>Test chapter</title>
<para>This is a test para</para>

DESCRIPTION

=format will let you have regions that are not generally interpreted as normal Pod text, but are passed directly to particular formatters. A formatter that can use that format will use the region, otherwise it will be completely ignored.

SEE ALSO

http://perlcabal.org/syn/S26.html

AUTHOR

Zahatski Aliaksandr, <zag@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2009 by Zahatski Aliaksandr

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.