Text::Yats

Text::Yats is Yet Another Template System.
Download

Text::Yats Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Henrique Dias
  • Publisher web site:
  • http://search.cpan.org/~hdias/Apache-ParseFormData-0.09/ParseFormData.pm

Text::Yats Tags


Text::Yats Description

Text::Yats is Yet Another Template System. Text::Yats is Yet Another Template System.SYNOPSIS use Text::Yats; my $template = < < ENDHTML;< html >< head >< title >$title - $version< /title >< /head >< body >< form >< select name="names" >< !--{1}-- >< option $selected >$list< /option >< !--{2}-- >< /select >< /form >< /body >< /html >ENDHTML my $result = ""; my $tpl = Text::Yats- >new( level = > 1, text = > $template); $result .= $tpl- >section- >- >replace( title = > "Yats", version = > "Development", ); $result .= $tpl- >section- >- >replace( list = > , selected = > { value = > "selected", array = > "list", match = > "anita", } ); $result .= $tpl- >section- >- >text; print $result; Requirements: · Perl


Text::Yats Related Software