I removed the S::WE code and just let the 'rename' command move the
existing text file.
Unmount works fine.
> Another, unrelated guess is that you may be getting some strange
> interaction between the temp files that your program creates and the
> ones that S::WE creates. You could try using using WriteExcel's
> set_tempdir() method to specify the same temp dir that the main
> program is using. But as I said that is is a guess.
Tried $workbook -> set_tempdir('/tmp') ; No change.
Tried a few sleeps in there and a few other wild guesses. No change.
Of note, it's the **source** directory that won't unmount, the one
S::WE writes to unmounts.
Does that help us any?
Brian
--
All you need to know about Ubuntu 9.04 Jaunty -> gconftool -s --type
bool /apps/update-notifier/auto_launch false
> Tried $workbook -> set_tempdir('/tmp') ; No change.
> Tried a few sleeps in there and a few other wild guesses. No change.
> Of note, it's the **source** directory that won't unmount, the one
> S::WE writes to unmounts.
> Does that help us any?
I'll be durned.
Added
close (RAWREPORT) ;
after the while (<RAWREPORT>){
block
}
and it unmounts fine. I didn't think that should be required should it?
Thanks for being a sounding board.