develooper Front page | perl.perl5.porters | Postings from September 2021

Re: Missing sv_numeq() function?

Thread Previous | Thread Next
From:
Paul "LeoNerd" Evans
Date:
September 14, 2021 17:32
Subject:
Re: Missing sv_numeq() function?
Message ID:
20210914183243.559e35e9@shy.leonerd.org.uk
On Tue, 14 Sep 2021 15:04:35 +0100
hv@crypt.org wrote:

> Right, it is not honouring overloaded '==', instead taking the
> overloaded numify of both sides.
> 
> A quick look suggests to me that sv_eq_flags is similarly not looking
> for overloaded 'eq'.

Indeed they do not obey overload currently. Hence my entire followup
reply.

Perhaps they should by default, and take a flag to ask them not to?

-- 
Paul "LeoNerd" Evans

leonerd@leonerd.org.uk      |  https://metacpan.org/author/PEVANS
http://www.leonerd.org.uk/  |  https://www.tindie.com/stores/leonerd/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About