NAME

Plosurin::To::Perl5 - export to Perl 5

SYNOPSIS

  my $p5  = new Plosurin::To::Perl5(
         'context' => $ctx,
         'writer'  => new Plosurin::Writer::Perl5,
         'package' => $package,
      );

DESCRIPTION

Plosurin::To::Perl5 - export to Perl 5

new context=>$ctx, writer=>$writer, package=>"Tmpl"

writer or wr Return current writer object. $self->wr $self->writer

context or ctx retrun current context

NAME

$self->{package} - set of generated teplates

SYNOPSIS

use $self->{package};
print &$self->{package}::some_template(key1=>val1);

DESCRIPTION

$self->{package} - set of generated teplates by plosurin

SEE ALSO

Closure Templates Documentation http://code.google.com/closure/templates/docs/overview.html

Perl 6 implementation https://github.com/zag/plosurin

File Export File

$converted_name

@{[ $t->comment ]}

( src: @{[ $node-{file} ]}>, template name: $tmpl_name )

SEE ALSO

Closure Templates Documentation http://code.google.com/closure/templates/docs/overview.html

Perl 6 implementation https://github.com/zag/plosurin

AUTHOR

Zahatski Aliaksandr, <zag@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 by Zahatski Aliaksandr

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.