☼ 林永忠 ☼

NAME

Template::Plugin::IO::All - IO::All + Template

SYNOPSIS

  [% USE IO.All %]
  [% file = IO.All.new('some_file') %]

  [% file.all %]

  [% FOREACH line = file.getlines %]
    [% line %]
  [% END %]

  [% file.11 %]  # Return the 11st line 

  [% dir = IO.All.new('some_dir/') %]
  [% FOREACH entry = d.all %]
   [%- entry %]
  [% END %]

DESCRIPTION

Nothing much to explain. It's IO::All plugin for Template. Fun and easy!

COPYRIGHT

Yung-chung Lin (a.k.a. xern) <xern@cpan.org>

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

SEE ALSO

IO::All, Template::Plugin