From: Damjan Rems Date: 2008-03-06T04:20:24+09:00 Subject: Is there a difference between load "file" and eval content I am just wondering is there any differnece between these two techniques. There is file.rb 1. use load to execute contents of file.rb load "file.rb" 2. use eval to execute contents of file.rb c = File.open('file.rb') {|f| f.read } eval(c) Load is more conventional but eval is more flexible (source can be modifyed before evaluated). Are there any hidden gotchas? by TheR -- Posted via http://www.ruby-forum.com/.