in reply to Re: What does $_ = qq~"$_"~ do?
in thread What does $_ = qq~"$_"~ do?

I was completely overthinking it - thanks for clarifying.

Replies are listed 'Best First'.
Re^3: What does $_ = qq~"$_"~ do?
by Anonymous Monk on May 31, 2019 at 00:49 UTC

    I was completely overthinking it - thanks for clarifying.

    Hi,

    There is a list for overthinking avoidance :)

    Basic debugging checklist

    perl -MO=Deparse - $_ = qq~"$_"~; __END__ $_ = qq["$_"];

    ppi_dumper is also great at hints

    $ ppi_dumper input_file PPI::Document PPI::Statement PPI::Token::Magic '$_' PPI::Token::Whitespace ' ' PPI::Token::Operator '=' PPI::Token::Whitespace ' ' PPI::Token::Quote::Interpolate 'qq~"$_"~' PPI::Token::Structure ';'