Thanks for the replies guys.

Yes, it would appear that (for the Googlers) this is not possible.
At least not in any simple, straightforward method that I was hoping for.

ww, I did check out that section of the PerlDocs - it told me about what I was expecting.
However the reread led me to this (appropriately christened!) section of the same doc which definitively spells everything out about this case, and many others not even considered in this node:

http://perldoc.perl.org/perlop.html#Gory-details-of-parsing-quoted-constructs

This is one of the rare cases where Perl's DWIM philosophy doesn't align with my own, oh well.

A (basic) note - the selected delimiter for q{} is always vulnerable and needful of and being escaped. As you'd expect.

And thanks for the quality snippets LanX, that is probably what I'd end up doing if I had a long list. Fortunately, this time I was just curious about that case =)
Hehe, I certainly don't blame Perl for MS monkey business. The scary part is that I'm starting to get used to it. Boy, sometimes I miss my last position where I worked primarily with Linux-based systems ;)

Of course, moritz offers another good solution for larger volumes of data as well ♥

So thanks again monks.
Hopefully this node will stand as an answer, of sorts (heh, ww =D )

Strange things are afoot at the Circle-K.


In reply to Re: Single Quotes - how to avoid any escape processing? by temporal
in thread Single Quotes - how to avoid any escape processing? by temporal

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.