Nathan Wiger wrote:
>
> Huh? All classes inherit from UNIVERSAL implicitly.
Yes, but at that point in the execution, $module is not a class.
> It's the same reason you can write:
>
> $module->can('dance');
Once upon a time this was not possible. I guess it has changed.
--
John Porter
We're building the house of the future together.
- RFC 253 (v1) UNIVERSAL::require() Perl6 RFC Librarian
- Re: RFC 253 (v1) UNIVERSAL::require() Nathan Wiger
- Re: RFC 253 (v1) UNIVERSAL::require() Michael G Schwern
- Re: RFC 253 (v1) UNIVERSAL::require() John Porter
- Re: RFC 253 (v1) UNIVERSAL::require() Nathan Wiger
- Re: RFC 253 (v1) UNIVERSAL::require() John Porter
- Re: RFC 253 (v1) UNIVERSAL::require() Michael G Schwern
- Re: RFC 253 (v1) UNIVERSAL::require() John Porter
