From: Morton Goldberg Date: 2007-11-06T07:50:27+09:00 Subject: Re: Reading a class-file and calling it at runtime. On Nov 5, 2007, at 4:20 PM, ara.t.howard wrote: > object = eval name, Binding::Top > > BEGIN { > Binding::Top = binding > } > > which is less safe, of course, but works with effort for cases like > > object = eval 'File::Stat', Binding::Top > > which, for some reason, routinely confounds people on the list... > > 2 cts. You probably have a good reason for writing the above rather than the simpler eval('File::Stat', TOPLEVEL_BINDING) # => File::Stat but I can't figure out what it is. So please explain. Regards, Morton