On Tue, 12 Sep 2000 19:01:35 -0400, Mark-Jason Dominus wrote:
>I don't know what you mean, but you're mistaken, because it means to
>interpolate @foo as in a double-quoted string.
Which is precisely the meaning he wants for it, with $" set to '|'.
I wonder if we're not trying too hard. What if, inside regexes, $" is
always localized and set to '|'. What if we change the meaning of
"\Q@foo" so it only metaquotes the contents of the array, not of the
separator.
@foo = ('a.b', 'a+b', 'a*b');
$" = '|';
print "\Q@foo";
-->
a\.b\|a\+b\|a\*b
Hmm... We can't really use this result, can we?
--
Bart.