| Template-Plugin-IO-All documentation | view source | Contained in the Template-Plugin-IO-All distribution. |
Template::Plugin::IO::All - IO::All + Template
[% 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 %]
Nothing much to explain. It's IO::All plugin for Template. Fun and easy!
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
| Template-Plugin-IO-All documentation | view source | Contained in the Template-Plugin-IO-All distribution. |