[Templates] vStrings in TT

Dave Cross dave@dave.org.uk
Fri, 8 Apr 2005 12:32:02 +0100


I've just come close to persuading another client to use TT for some of
their work, but by accidently running a script against the wrong version
of Perl we discovered a small problem.

Template::Document uses vStrings to work out which version of utf8
support it is going to use. This is a slight problem because vStrings
are now deprecated, but it's a bigger problem because the module has a
'require 5.004' line at the top and vStrings weren't introduced until
5.6.

We accidently ran the script using 5.005.03, which passed the 'require',
but had no idea what vStrings were.

I suggest we go back to using $] for all version checking.

Dave...

-- 
  Let me see you make decisions / Without your television