in reply to Re^2: Large Variable to small variables, why dont they display
in thread Large Variable to small variables, why dont they display

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.)

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

    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

      No, it refers to a template object. What you posted still doesn't help, since we still don't see where session, user_status and session_id are used. We can't debug code we don't see!

      By the way, how do you verify that $session contains something like 00-0000000000-00000000?