in reply to Cycle, iterations and statistical measure got completely wrong

Hi :)

Clobbering the file, overwriting the file, overwrites it, no need to remove it first :) so you can delete these lines

if (-e $file) { print STDERR "$file already exists, deleting previous version\n"; `rm -f $file`; }

Also, you should check if open failed, you can let autodie do the checking for you

  • Comment on Re: Cycle, iterations and statistical measure got completely wrong
  • Download Code