At 12:10 pm -0800 1/2/01, Todd Richmond wrote:

|   What's the best way to do temporary file creation? BioPerl seems to have
|   chosen File::Temp, which requires File::Spec, which requires Errno.pm. The
|   process fails at the end because 'archname' is not defined for MacOS.

I do 

        $tempdir = $ENV{TMPDIR};
        mkdir $tempdir, 0; #creates if necessary
        $fout = "$tempdir" . "temp.txt";
        open FOUT, ">$fout";
        
JD


Reply via email to