in reply to Re^2: namespaces and variable initilization with require 'file'
in thread namespaces and variable initilization with require 'file'
The repeated use of "modules" was a copy and paste error.
And right, I wasn't talking about the abilities of the respective commands, but their purpose. do executes a file. So does require. The difference is that require will only execute a file once per run, so it only makes sense to use require for files that load a module.
|
|---|