in reply to Re: Can I ask Perl if an object will stringify?
in thread Can I ask Perl if an object will stringify?

Hi Rolf,

Thanks for your thoughts, and I agree that my solution is probably in the gray zone of being a little bit overengineered ;-) Instead of my current implementation (I've posted it below) getting any more complex, I think I would remove the check entirely, or at least simplify it as you suggest. This particular module already spends a significant amount of code on trying to be helpful to its user - as far as I know, that's only me right now :-)

Thanks and Regards,
-- Hauke D

  • Comment on Re^2: Can I ask Perl if an object will stringify?