RT 59208: The handling of "SET var = expression" was very limited compared to "var = expression". This resulted in unintuitive behavior such as filters being applied to the nonexistent output of the SET command instead of the value being assigned.
…urning raw sub, not self-cached version
On Android (and any perl built with -Ud_setlocale), Template::Plugin::Date and its tests cause errors because neither setlocale() nor the locale-related constants are defined, so we need to protect those calls by checking what %Config has to say.
…ude the white space leading up to it as this is not prefix text and is stripped and so not available as a TEXT or LITERAL tokens
…directories. open() does not fail, but acts like directory is an empty file. When caching is enabled this silently creates 0b files in cache folder which causes templates from within the folder to fail to create cache files. Tweaked _load() to use $error returned from _template_content() instead of using ignoring it and using hardcoded error. Added t/process_dir.t to test for these issues
when calling code that used string evaluation (e.g. DateTime).
git-svn-id: svn://svn.tt2.org/tt/Template2/trunk@1259 d5a88997-0a34-4036-9ed2-92fb5d660d91
…ed variables() method to Template::Document and template() method to Template git-svn-id: svn://svn.tt2.org/tt/Template2/trunk@1258 d5a88997-0a34-4036-9ed2-92fb5d660d91
git-svn-id: svn://svn.tt2.org/tt/Template2/trunk@1254 d5a88997-0a34-4036-9ed2-92fb5d660d91