------art_5492_29053275.1151462602390
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

HI All,

with our volunteer teacher absent last night, our class was left to ponder
things for ourselves. We were looking at a ruby equivalent for cp and came
upon something that we all didn't understand. In the below code, small as it
may be,

#!/usr/local/bin/ruby

require 'fileutils'
include FileUtils::Verbose
cp("methround.rb", "newmethround.rb")


we wondered why we required to use require and include before the code would
work. Naturally, if we removed the, "::Verbose" it still worked. Why require
and then include fileutils? Cheers.

Mark Sargent.

------art_5492_29053275.1151462602390--