> 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/') %]

You probably should specify full path to the 'announce' directory or make
sure that you are in the correct working directory. When using the Directory
plugin, paths are specified relative to the current working directory, not
relative to the the directory where template is located!


-- 
Sergey Martynoff


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

Reply via email to