",
}),
],
});
return @replacements;
}
1;
__END__
=pod
=head1 NAME
Pod::CYOA::Transformer - transform 'cyoa' regions
=head1 VERSION
version 0.001
=head1 OVERVIEW
Pod::CYOA::Transformer is a L implementation. It
looks for a region with the format name C and transforms it into a
C<=item>-list surrounded by C regions.
A C region is written with pairs of C>-separated values representing
page links and descriptions. For example:
=for :cyoa
? pie-eating ? eat a pie
? start ? start over
? visit-lefty ? buy an "O"
...will become something like:
=for html

=over 4
=item * If you'd like to L
=item * If you'd like to L
=item * If you'd like to L
=back
=for html

The C-prefix on the link targets is expected to be handled by
L.
=head1 AUTHOR
Ricardo SIGNES
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut