Elizabeth Mattijsen via RT wrote: >Don't think so: if you interpolate a Str into a "", then it calls the >.Str method on it, *not* the .perl method.
I'm not sure where you think this is relevant. I was not expecting implicit .perl calls from any interpolation. The code that I proposed interpolates the results of explicit .perl calls. My reference to Str.perl was to say that that's the method that performs quoting correctly and therefore you should call it (directly or indirectly) when you require quoting. Indeed, with the Unicode behaviour being as complicated as it is, any ad hoc attempt to duplicate the quoting logic is bound to be incomplete. -zefram
