How many ways can we express string in Perl?

Q

How many ways can we express string in Perl?

✍: Guest

A

Many. For example 'this is a string' can be expressed in:
"this is a string"
qq/this is a string like double-quoted string/
qq^this is a string like double-quoted string^
q/this is a string/
q&this is a string&
q(this is a string)

2013-09-25, 2004👍, 0💬