http://www.perlmonks.org?node_id=401040


in reply to Re^3: quotes in Perl
in thread quotes in Perl

The other thing you need to mention is that HERE-DOCS won't interpolate if single quotes are used so print <<'EOT' won't interpolate variables in the HERE-DOC, but print <<"EOT" will.

Replies are listed 'Best First'.
Re^5: quotes in Perl
by apotheon (Deacon) on Oct 21, 2004 at 06:20 UTC
    I believe I mentioned that where I included perlcapt's suggested material in the above tutorial. He did actually allude to that fact, but I felt it needed to be slightly more obvious, and made it so in my version. His approach to the subject was well-written, though like any rough draft it needed minor editing.

    - apotheon
    CopyWrite Chad Perrin