in reply to What does $_ = qq~"$_"~ do?
qq is the generic double quoting operator. It's "" with using different delimiters. So the line $_ = qq~"$_"~; encloses whatever text is in $_ with double quotes. It's the same as $_ = "\"$_\""; without having to escape the " characters.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: What does $_ = qq~"$_"~ do?
by mkj (Initiate) on May 28, 2019 at 03:40 UTC | |
by Anonymous Monk on May 31, 2019 at 00:49 UTC |
In Section
Seekers of Perl Wisdom