The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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