On Mon, Oct 12, 2015 at 7:07 PM, Abigail <abigail@abigail.be> wrote: > This is Perl. You can't even trust the source code: > > > use constant; > use overload::constant integer => sub {"$_[0]"}; > > > when (3) {...} # What does this do? 'eq' or '=='? > Aside from the fact that anyone doing that deserves whatever surprises pop up … … if the intention is explicated, neither perl nor the maintainer need wonder: scase 3 {…} # does 'eq', whatever "type" 3 might be ;-) EirikThread Previous | Thread Next