Q[] question

[email protected] (ToddAndMargo via perl6-users)
Newsgroups perl.perl6.users
Message-ID <[email protected]>
Hi All,

Is
    Q[...]

the same thing as
    <...>
?

my Str $z=Q[ab#\n]
ab#\n

my Str $z=Q{ab[#\n}
ab[#\n

my Str $z=<ab#\n>
ab#\n

my Str $z=<ab[#\n>
ab[#\n


Many thanks,
-T
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.