On Wed, 29 May 2002, Perrin Harkins wrote: > There's no good reason to do an eval 'use'. Use require instead, and > import if you need to (but most people don't).
Actually, there is. This code: my $module = 'Foo::Bar'; require $module; is not the same as this: require Foo::Bar; If require is given a string, it looks for a filename _matching_ that string. If it's given a bareword, it converts '::' to filesystem path separators first. -dave /*================== www.urth.org we await the New Sun ==================*/