Changeset 27003

Show
Ignore:
Timestamp:
12/18/08 15:40:24 (5 years ago)
Author:
kazuho
Message:

update pod, incr $VERSION

Location:
lang/perl/Text-MicroTemplate/trunk/lib/Text
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Text-MicroTemplate/trunk/lib/Text/MicroTemplate.pm

    r27002 r27003  
    1212use Carp 'croak'; 
    1313 
    14 our $VERSION = '0.04'; 
     14our $VERSION = '0.05'; 
    1515our @ISA = qw(Exporter); 
    1616our @EXPORT_OK = qw(encoded_string build_mt render_mt); 
     
    570570returns perl code that renders the template when evaluated 
    571571 
     572=head2 filter(sub filter_func { ... })->sub({ template lines }) 
     573 
     574filters given template lines 
     575 
     576    ? $_mt->filter(sub { s/Hello/Good bye/g })->sub({ 
     577    Hello, John! 
     578    ? }) 
     579 
    572580=head1 SEE ALSO 
    573581 
  • lang/perl/Text-MicroTemplate/trunk/lib/Text/MicroTemplate/File.pm

    r27000 r27003  
    140140Renders the template file with given arguments. 
    141141 
     142=head2 wrapper_file($file, @args)->(sub { template lines }) 
     143 
     144Wraps given template with wrapper file.  Internally the processed template is passed as $_[0] to the wrapper template. 
     145 
    142146=head1 SEE ALSO 
    143147