$string = 'one \qq{$var} two'    # $string = 'one two three'
    $string = 'one\qq{ {$var\} }two' # $string = 'one {two} three'

I think you mean s/two/three/ :

   $string = 'one \qq{$var} three'    # $string = 'one two three'
   $string = 'one\qq{ {$var\} }three' # $string = 'one {two} three'

list's separator property, which is by default a space.  Therfore, the
following two expressions are equivalant:
Typos :
Therefore
equivalent

=item References C<"$ref">
# Behaivor not defined
Behaviour

=item Default Object Stringification C<"$obj">
# Behaivor not defined
Behaviour

   \L{}        Lowercase all characters within brackets
   \U{}        Uppercase all characters within brackets
   \Q{}        Escape all characters that need escaping
               within the current string (except "}")
Do you mean \Q or \Q{}, or both ?

  \Q{}        Escape all characters that need escaping
              from this point on in the current string (except "}")

=head3 Stopping Interpolation (\Q)

Within an interpolated string, interpolation of expressions can be
stopped by \Q.

=over 3
Example:
    @list = (1,2);
    print "@list\Q[0]"; # prints '1 2[0]'
=back
Then
print "@list\Q{0}"; # prints '1 20'
?

R.


Reply via email to