On Sun, 2002-09-08 at 13:55, Matt Sergeant wrote:
> I thought you were taking over XPathScript development? ;-)
> 

I would if I could :)  Funny how the real job gets in the way.


> Seriously though, I have no idea what the bug might be. Sorry.
> 

No problem, I found another workaround.  I added an <!--#import
file=""--> tag which basically does the same thing as import_template()
but doesn't compile it into a subroutine.  That seems to work, though it
doesn't take variable names as filenames...so I've got a bunch of
if/elsifs (blech).

In any case, if I do come up with a solution, expect a patch :)

Brian



> On Tuesday, September 3, 2002, at 01:27  pm, brian wheeler wrote:
> 
> > I'm having some caching problems with AxKit 1.6 using import_template.
> > It seems that once the imported template is cached, it stops generating
> > content...but the other normally included templates (via <!--#include
> > -->) work like they're supposed to.
> >
> > Any thoughts?
> > Brian
> >
> >
> > Versions:
> > Axkit 1.6
> > Apache 1.3.26
> > mod_perl 1.27
> > Redhat 7.1
> > Perl 5.8
> >
> >
> > Code snippet that fails:
> >
> > ...
> >         if(!exists($real_name{$section})) {
> >             $section="snapshot";
> >         }
> >          
> > $t->{testcode}=import_template("/stylesheets/default-college_profile- 
> > $section.xps",1);
> >     return -1;
> > ...
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >


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

Reply via email to