Text::FastTemplate->new() is returning an undefined value.
Probably due to it not liking something in the constructor, I'd check to make sure the files are readable, and whether it's using some sort of cache directory that isn't accessible? (One would have to inspect Text/FastTemplate.pm, tracing through 'new' to see what it's doing, or, maybe look in the docs for some kind of error variable)
Have a look in $! (not always useful)