in reply to Re^4: RFC: SecureString - Obfuscated / masked strings exept when you need them (revised synopsis & tied filehandles)
in thread RFC: SecureString - Obfuscated / masked strings exept when you need them
That's part of why you should write your logs in JSON format! But, yes, excellent point.
I wonder if overload.pm can cause "foo $bar" to return an overload'ed object since it should compile down to "foo " . $bar and you should be able to overload concatenation. If so, then it could return an object that stringifies to "foo XXXXX" somewhere inside of 'print'.
Sorry, I can't take the time to test that at the moment.