I'll pick one nit here:

>   lineArray = IO.readlines( myFile.path )
>   lineArray.each{ |line|

For a very large myFile, you could have a problem holding lineArray in
memory.  A better choice might be

myFile.path.each_line do |line|
<process line>
end
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to