Class::Skin

Class for creating text out of text templates
Download

Class::Skin Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Rani Pinchuk
  • Publisher web site:
  • http://search.cpan.org/~rani/

Class::Skin Tags


Class::Skin Description

Class for creating text out of text templates Class::Skin is a Perl module for creating text out of text templates.SYNOPSIS use Class::Skin; # create new Class::Skin object my $skin = new Class::Skin("template.txt"); # read the template file $skin->read(); # parse the template and print the result. we send in anonymous # hash all the variables that we would like to use in the template print $skin->parse({ title => $title, i => $i, condition1 => 1, condition2 => 0, condition3 => 1, condition4 => 0, condition5 => 1, condition6 => 0, condition7 => 1, condition8 => 0, condition9 => 1, filepath => "template2.txt", func => \&call_back_func}); Requirements: · Perl


Class::Skin Related Software