[Templates] Newbie question: use perl module within template - how?

klaushorsten email.10@gmx.net
Sun, 09 Jul 2006 09:36:20 +0200


Hallo,

in the manual there is an example:

[% USE file = IO.File('d:\tmp\user') %]
[% WHILE (line = file.getline) %]
[% line %]
[% END %]


I get the error
plugin error - IO.File: plugin not found

I have read that I have to set load_perl to true.
Can I do this in the template?

IO is in the right place.

I am working on windows.

How do I get this run?

This is my first post here. I am not a perl programmer.

Regards,

Klaus