On Tue, 3 Feb 2004, John Nystrom wrote:

> > > I am using your DateTime module, and see that when I set the timezone as
> > > 'local' it changes directories to get the timezone, but it does not change
> > > the directory back to the working directory.  Any information would be
> > > greatly appreciated.

Ah, this is caused because it uses File::Find, and it aborts the find
operation by dying once it finds what it wants, so File::Find never gets a
chance to make it back to the original directory.

If File::Find had a useful API (a way to abort) ...

Anyway, I'll tweak the code to use the no_chdir option to File::Find.


-dave

/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/

Reply via email to