Re: Instead of /tmp directory?

Josh Narins <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.petal
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.