-
Notifications
You must be signed in to change notification settings - Fork 542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
canonical truth values from overloaded predicates #16273
Comments
From zefram@fysh.orgCreated by zefram@fysh.orgOperator overloading methods are allowed to return any value. Like this: $ perl -lwe 'package Five { use overload "<" => sub { 5 }; } print bless({}, "Five") < 3' It makes sense for operators like "+" to be able to return any value, Perl Info
|
From @csjewellOn Wed, 22 Nov 2017 13:52:12 -0800, zefram@fysh.org wrote:
The problem is that there are modules (at least one: IO::All) that abuse the fact that overloaded comparators are NOT canonicalized in a useful way. |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#132489 (status was 'open')
Searchable as RT132489$
The text was updated successfully, but these errors were encountered: