Calling UNIVERSAL::can() as a function is allowed.
abw at wardley.org
Thu Nov 22 07:34:31 GMT 2007
>> It says in the
>> official documentation that UNIVERSAL::can *can* be called as a function.
> Not anymore.
Fair enough. Probably about time, too. Although strictly speaking, it does
still says that you can call U::can as a function, but warns:
...however it is usually harmful to do so. Please don't do this in
So it's still valid, but officially Not Recommended.
More information about the london.pm