[Petal] Instead of /tmp directory?

Josh Narins josh at narins.net
Fri Aug 26 20:39:32 BST 2005


Bruno,

> On Fri 12-Aug-2005 at 09:38 -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.

I hope future versions allow passing a variable to the Petal
instantiation to set the tmpdir.




More information about the Petal mailing list