John Porter wrote:
> 
> > As a solution, a UNIVERSAL:::require() method can be added with the following
> > syntax:
> >
> >     $module = "Some::Module";
> >     $module->require;
> 
> Seems to me that it would need to be written as
> 
>         $module->UNIVERSAL::require;
> 
> How do you propose to avoid that?

Huh? All classes inherit from UNIVERSAL implicitly. It's the same reason
you can write:

   $module->can('dance');

For any class, even one that doesn't exist.

-Nate

Reply via email to