[Templates] vStrings in TT

[prev] [thread] [next] [Date index for 2005/04/08]

From: Dave Cross
Subject: [Templates] vStrings in TT
Date: 11:32 on 08 Apr 2005
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

_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] vStrings in TT
Dave Cross 11:32 on 08 Apr 2005

Generated at 14:44 on 11 Apr 2005 by mariachi v0.52