NAME
Stenciller::Plugin::ToUnparsedText - A plugin that doesn't transform the text
VERSION
Version 0.1300, released 2015-11-22.
SYNOPSIS
use Stenciller;
my $stenciller = Stenciller->new(filepath => 't/corpus/test-1.stencil');
my $content = $stenciller->transform('ToUnparsedText');
DESCRIPTION
This plugin to Stenciller basically returns all text content of the stencils.
If this plugin is used via Pod::Elemental::Transformer::Stenciller it could be used like this in pod:
=pod
# includes header_lines and all stencils
:stenciller ToUnparsedText atestfile-1.stencil
# includes header_lines and all stencils
:stenciller ToUnparsedText atestfile-1.stencil { }
# includes only the first stencil in the file
:stenciller ToUnparsedText atestfile-1.stencil { stencils => [0], skip_header_lines => 1 }
# includes only the header_lines
:stenciller ToUnparsedText atestfile-1.stencil { stencils => [] }
METHODS
transform
See transform in Stenciller::Transformer.
SOURCE
https://github.com/Csson/p5-Stenciller
HOMEPAGE
https://metacpan.org/release/Stenciller
AUTHOR
Erik Carlsson <info@code301.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 by Erik Carlsson.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.