> temporary directory. The script parses all the logs, dumping > those that are of interest to us for the various parts of the > report to smaller, easier to handle files. I am using the > following statement to create a temporary directory which > works out great, removing most of the files, unfortunately I > can not seem to make it remove all the files. > > our $templogs_base = 'C:\squid\var\log\SquidLog'; our > $templogs = tempdir( DIR => $templogs_base, CLEANUP => 1 ); > > When I run the script, I get the following errors: > > Can't unlink file > C:\squid\var\log\SquidLog\5FIwr0r4nz/tmp-stb.com.txt: > Permission denied at C:/SFU/Perl/lib/File/Temp.pm line 845 > Can't remove directory C:\squid\var\log\SquidLog\5FIwr0r4nz: > Directory not empty at C:/SFU/Perl/lib/File/Temp.pm line 845 >
It looks like you are using the perl version that comes bundled with Microsofts Services for UNIX. If so, DON'T. Install the latest version of Perl from Active State. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.745 / Virus Database: 497 - Release Date: 8/27/2004 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>