Slash::Test comes with the latest supported Slash release, 2.2.5. If you are using 2.0.x, well, then I don't think you can use it, but I am not sure, since I don't recall much about 2.0.x.
I was getting pretty desperate and threw in a "var" on the off chance that it introduced a variable. It didn't make any difference. The example I gave has the same problem without the "var"
-- http://news.DiverseBooks.com/ SF and Computing Book News
Sure (Score:2)
Re:Sure (Score:2)
http://news.DiverseBooks.com/ SF and Computing Book News
Re:Sure (Score:2)
Re:Sure (Score:2)
[Thu Jun 27 15:56:02 2002] [error]
l/5.6.1/i686-linux/Slash.pm:845:ID 4, header;misc;default : file error - parse err
or: 4 line 2-6: unexpected token (dig)
[% var dig = [ 0
anumber = dig.rand _ dig.rand _ dig.rand;
anumber; %]
Any ideas why I get this.... From reading the TemplateToolkit docs pudge's solution looks like it should work.
[Thu Jun 27 15:56:02 2002] [error] Which was called by:Apache::ROOTnews_2ediverseb
ooks_2ecom::artic
http://news.DiverseBooks.com/ SF and Computing Book News
Re:Sure (Score:2)
http://news.DiverseBooks.com/ SF and Computing Book News
Re:Sure (Score:2)
Re:Sure (Score:2)
http://news.DiverseBooks.com/ SF and Computing Book News