>perl -e"print qq{\Q\U,a}" \,A
(\Q doubled \U's slash without realising it was part of an escape.)
In my opinion, they are primarily meant to be used when followed by a variable.
Update: Oops, it's actually working right. The "\" is for the comma. I wasn't awake yet :(
In reply to Re: Interactions of \Q, \U, \L and \E
by ikegami
in thread Interactions of \Q, \U, \L and \E
by ig
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |