On Sat, 2005-01-29 at 22:22 +0100, Johan Vromans wrote:
> Template::Plugin::Directory is a good start, but unfortunately it has
> a different view on the file system than would be intuitive. For
> example, to show all images in the current directory:
> 
>   USE dir = Directory(dirpath);
>   FOREACH file = dir.files;
>     '<img src="' _ file.name _ '">";
>   END;
> 
> The problem is how to get the right value for dirpath.

I'd suggest you just hack this plugin to do what you want.  Take a look
at the code and ask questions if you get stuck.

- Perrin


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

Reply via email to