[Petal] Instead of /tmp directory?

Bruno Postle bruno at mkdoc.com
Sun Aug 28 23:02:03 BST 2005


On Fri 26-Aug-2005 at 15:39 -0400, Josh Narins wrote:

> > > I was hoping you could tell me what option I could change so that the
> > > petal_cache and petal_debug files didn't end up in /tmp. I'd like to
> > > change them to /tmp/petal, if that helps (doubtful, but one never
> > > knows).
> > 
> > Petal uses File::Spec->tmpdir() for this, so you can change the
> > directory for the cached templates by setting $ENV{TMPDIR}.
> 
> Thanks, but that changes other things, too.

If nothing else, it would be useful to separate the petal_cache and
petal_debug files - Neither are really temp files anyway.

-- 
Bruno


More information about the Petal mailing list