http://qs321.pair.com?node_id=634450


in reply to Re: eval "require $class" seems wrong
in thread eval "require $class" seems wrong

It looks like what UNIVERSAL::require does is: turn $class name (e.g. Some::Class) into a path (Some/Class.pm), then do eval qq{require $path}, which amounts to the same thing - a string eval - but hidden in a dependency. Okay, it checks %INC first to see if it's already been loaded, but that's about it.