I'm sorry; I don't understand your heredoc-stacking example. Would you be able to offer a use case compelling to the Perl newcomer?
Let's refrain from discussing nesting delimiters in generic quotes; I'm not sure I'd want to encourage it. To the newcomer, I'd rather emphasize the value of choosing delimiters wisely.
Full details are always available in perlop. I'd hoped to avoid mentioning usage such as q][] in a basic introduction. Thank you for your comments.
In reply to Re^2: Quote and Quote-like Operators
by Xiong
in thread Quote and Quote-like Operators
by Xiong
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |