begin      
     $f = "c:\\file.log"
     a = File.new($f,"a+")
      a.each {|x|}

.
.
.
your code here
.
.
.
rescue Exception => e
a.puts e.to_s
end
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to