Permalink
Browse files

testing README.pod formatting take 9

  • Loading branch information...
1 parent e818b96 commit 1a6213541fcd68a484c6e47fb9d6266feb5463d5 @draegtun committed Dec 1, 2009
Showing with 8 additions and 8 deletions.
  1. +8 −8 README.pod
View
@@ -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" );

0 comments on commit 1a62135

Please sign in to comment.