Hi
I am trying to read every file in a directory. The code below is my
attempt but it give file not found.


===============================================
[% USE dir = Directory('announce/') %]
    [% FOREACH file = dir.files %]
      FILE = [% file.name%] 
      [% INCLUDE file %]

    [% END %]

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to