On 18 Jun 2002, Tugrul Galatali wrote:

>       Now, FindBin does this nasty thing when it discovers $0 = /dev/null
> under mod_perl. It croaks. Just as a quick fix, I replaced the croak
> with a warn, but what would make a better long term solution?

Ask the Inline developers - it sounds like this is their issue.  I've used
HTML::Template::JIT under mod_perl but maybe there's some other ingredient
that I didn't have to cause the bug?  Anyway, I think a post to the Inline
mailing-list would be the right way to go.

>       Given the current md5 naming scheme, it seems unlikely that we can have
> JIT ignore newer templates and use whatever compiled copy happens to be
> on hand, allowing for recompilation by script to avoid the problem.

That's true.  HTML::Template::JIT has no way to know which old module is
acceptable for the changed template.

> And I can't invoke JIT on the new template from another directory to the
> same jit_path before I replace the original template since the full path
> of the template is used in the hash.

Also true.  Off the top of my head I don't see a solution to this
problem...  Maybe some way to specify the "key" directly?  The default
would be to compute an md5 based on X, Y and Z but you could override it
to do something else.

-sam


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

Reply via email to