in reply to Re^2: I know two prints are slower than one, but 200x slower?!?!? (==)
in thread I know two prints are slower than one, but 200x slower?!?!?

...either or both of == / eq inappropriate. In that case, you can use something from overload but I'm not familiar with it.

That would be overload::StrVal(), to be used with eq. Alternatively, Scalar::Util::refaddr() and ==.

Update: All this has been said, as I noticed after posting.

Anno