Hi DJCP --

> The way I was setting them before was like this:
> $self->param('main_template_path'=>'/www/legalnet/templates/');
> 
> Which, looking at the docs should've still worked. I'm 
> assuming that this is the problem.
> 
> Do you have any idea why this would happen? Do you need more 
> code, is this a feature, or am I insane?


You got me there!  I wrote the following program to try to reproduce your
problem:

        use CGI::Application;
        print $CGI::Application::VERSION . "\n";
        my $self = CGI::Application->new();  
        $self->param('main_template_path'=>'/www/legalnet/templates/');
        print "main_template_path: " . $self->param('main_template_path') .
"\n";


It worked fine!  The output was as follows:

        2.1
        main_template_path: /www/legalnet/templates/


If you post a more complete version of your code to the list, perhaps we can
help you debug it.  In the mean time, try running this code and let me know
if you get similar results w/ CGI-App 2.1.


TTYL,

-Jesse-


----

  Jesse Erlbaum, CTO
  Vanguard Media
  212.242.5317 x115
  [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to