Have you checked to see if
my @option_config = q" $UNIQUE_OPT $FORCE_OPT $VERBOSE_OPT $OUTPUT_EXT_OPT=s ";
No, but doing so shows me that @option_config is equivalent to:
[ ' $UNIQUE_OPT $FORCE_OPT $VERBOSE_OPT $OUTPUT_EXT_OPT=s ' ]
a single element array, complete with the newlines and leading whitespace. Not DWIM.

I'm not sure what your point was...Should q"" interpolate or not? I would suggest it should not, because that would be confusing. But I could live with the argument that it should, because then the behavior of double-quotish strings would be consistent.

On the 3rd hand, things like s"$foo"$bar" behave differently from s'$foo'$bar':

$foo = 'foo'; $bar = 'bar'; $football = 'football'; ($x = $football) =~ s"$foo"$bar"; # $x eq 'bartball' ($x = $football) =~ s'$foo'$bar'; # $x eq 'football' (no change)
My point is, qw is not apparently single-quotish in nature, but it would DWIM to have it double-quotish using double quotes, as with other operators.

-QM
--
Quantum Mechanics: The dreams stuff is made of


In reply to Re^2: qw "$string $string" doesn't interpolate by QM
in thread qw "$string $string" doesn't interpolate by QM

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.