anarres: (Default)
anarres ([personal profile] anarres) wrote2010-08-09 06:44 pm
Entry tags:

headscratcher

Hmmm. It seems like it isn't possible on a Dreamhack to access a module in the ~/dw/cgi-bin/DW/Controller folder. This:

---------------------------------
#!/usr/bin/perl

use lib "$ENV{LJHOME}/cgi-bin";
use DW::Controller::Nav;
---------------------------------

produces this:

Name "Template::Filters::BASEARGS" used only once: possible typo at /usr/lib/perl5/Template/Base.pm line 49.
Name "Template::Context::BASEARGS" used only once: possible typo at /usr/lib/perl5/Template/Base.pm line 49.
Name "Template::BASEARGS" used only once: possible typo at /usr/lib/perl5/Template/Base.pm line 49.
Name "Template::Service::BASEARGS" used only once: possible typo at /usr/lib/perl5/Template/Base.pm line 49.
Name "Template::Provider::BASEARGS" used only once: possible typo at /usr/lib/perl5/Template/Base.pm line 49.
Name "Template::Plugins::BASEARGS" used only once: possible typo at /usr/lib/perl5/Template/Base.pm line 49.

and you get the same message if Nav is replaced with any other Controller module.

I could try to figure this out, or I could just work around it... I think I'm going to work around it :-)