* Simon Wilcox <[EMAIL PROTECTED]> [2002-11-04 11:00]:
> Without testing it, I wonder if vmethods work on strings, i.e.
> [% "/path/to/image.jpg".imgsize %] ?
vmeths don't work like that:
$ tpage
[% f = "/path/to/image.jpeg"; f.length %]
[% "/path/to/image.jpeg".length %]
file error - parse error: input file handle line 2: unexpected token (.)
[% "/path/to/image.jpeg".length %]
What so you think this is, python? ;)
(darren)
--
I don't mow lawns for the reason that I don't shave.
_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://www.template-toolkit.org/mailman/listinfo/templates