lib/Template/Provider.pm: _template_content() Should fail on opening 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
text_split(): Set the line number on which a directive occurs to exclude 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
text_split(): Set the line number on which a directive occurs to exclude 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
Merge pull request #12 from colinmkeith/master

Changed _template_content() to fail on PROCESSing directory to prevent cache corruption