in reply to Large Variable to small variables, why dont they display

What's $html_template? A package name? What's in that package?
  • Comment on Re: Large Variable to small variables, why dont they display

Replies are listed 'Best First'.
Re^2: Large Variable to small variables, why dont they display
by barrycarlyon (Beadle) on Jun 20, 2006 at 16:47 UTC

    its template toolkit, it just declares a header file

    Barry Carlyon barry@barrycarlyon.co.uk

      Variable don't "decalare a header file", whatever that means.

      For $html_template->process to work, $html_template needs to reference either a package name or an object. Guessing from param, I bet it's the former. What's in that package? We can't debug code we don't see! (Unless the problem is that $session doesn't really contain something like 00-0000000000-00000000 as you say.)

        line three says my $html_template!

        from base.pm:

        sub cgiapp_init { my $self=shift; $self->param('html_template', Template->new({ INCLUDE_PATH => $INCLUDE_PATH, WRAPPER => 'wrapper'}));
        wrapper is === to header file, just bad grammer, i apologize

        Barry Carlyon barry@barrycarlyon.co.uk