Task

Demonstrate the language's ability to include source code from other files.




See Also
 Compiler/Simple file inclusion pre processor




require "socket"   # includes a file from standard library or /lib relative to current directory
require "./myfile" # includes a file relative to current directory