P is for Practical | |
PerlMonks |
Re^2: How does Math::GMP overload the assignment operator ? (more guessing)by syphilis (Archbishop) |
on Nov 08, 2020 at 08:48 UTC ( [id://11123498]=note: print w/replies, xml ) | Need Help?? |
"0+" => sub { $_[0] >= 0 ? uintify($_[0]) : intify($_[0]) }, I don't think it's related to my particular problem, but it's an interesting case. Which operator is being overloaded here ? Is it overloading 'int' ? I actually wonder if that's a useful feature, but I won't rush to an assessment on that until I've found out a bit more about it. Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|