Subject: | import function fails on Win32 systems |
Build on Windows is not successful. Test t\auth\01_pages.t fails:
not ok 1 - use Gantry::Control::C::Pages;
# Failed test 'use Gantry::Control::C::Pages;'
# at t\auth\01_pages.t line 24.
# Tried to use 'Gantry::Control::C::Pages'.
# Error: Could not load plugin "Gantry::Template::TT", "Can't
locate GantryTemplateTT.pm in @INC (@INC contains: blib blib/lib
C:/strawberry/perl/site/lib
C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib .) at (eval 27) line 3.
# " at blib/lib/Gantry.pm line 325.
The problem is in Gantry.pm near line 318: The backslashes in
$tfile should be escaped before feeding to eval qq[ ... ]
try something like $tfile =~ s#\\#\\\\#g;