undef error - Can't use string ("") as a subroutine ref while "strict refs" in use at /usr/local/lib/perl5/site_perl/5.14.2/mach/Template/Document.pm line 163.