When using a scalar <$file> to define the template file in load_tmpl(), the
tmpl_path is overwritten with the path for HTML::Template.pm.

Does anyone else have this problem?  Tnx.  Eric.

sub NewLogon {
    my $self = shift;
    $self->tmpl_path( '/home/netremit/tmpl' );
  
    my $runmode = $self->get_current_runmode();
    my $file = join( '.', $runmode, 'tmpl');

    my $tmpl = $self->load_tmpl( $file );
}

Error executing run mode 'new_logon'.  Eval of code '$self->NewLogon'
resulted in error: HTML::Template->new() : Cannot open included file
new_logon.tmpl : file not found. at
/usr/local/libdata/perl5/site_perl/HTML/Template.pm line 1553



---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/cgiapp@lists.vm.com/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to