headscratcher
Aug. 9th, 2010 06:44 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
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 :-)
---------------------------------
#!/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 :-)