On Mon, Oct 12, 2015 at 1: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 '=='? > If we're basing on the literal as Dave suggested, ==. I don't see a problem with that. This would be a case of GIGO. If you do something funky, expect funky things to happen.Thread Previous | Thread Next