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.
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.