Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

testing README.pod formatting take 9

  • Loading branch information...
commit 1a6213541fcd68a484c6e47fb9d6266feb5463d5 1 parent e818b96
@draegtun authored
Showing with 8 additions and 8 deletions.
  1. +8 −8 README.pod
View
16 README.pod
@@ -19,21 +19,21 @@ This distribution includes the following modules:
Using building blocks to render XML, CSS, HTML and other outputs.
-=head3 boilerplate
-
use Builder;
my $builder = Builder->new;
my $xm = $builder->block( 'Builder::XML' );
-
-=head3 example 1
-
+
+
+ # example 1
+
$xm->parent( { isa => 'Mother' }, $xm->child( 'Hi Mum!' ) );
say $builder->render;
# <parent isa="Mother"><child>Hi Mum!</child></parent>
-
-=head3 example 2
-
+
+
+ # example 2
+
$xm->parent( sub {
for my $say qw/Mum Dad/ {
$xm->child( "Hi $say" );
Please sign in to comment.
Something went wrong with that request. Please try again.